Hi, this is a follow up of Don's user survey: David Benbennick suggested to have the possibility so see the name of the new workspace when you switch. David Roundy suggested a way to achieve it. And I, with his help, implemented it. Still with some problems I seem not to be able to solve. The fist one is the old thread related problem: since I need to create a window and destroy it after 1 second (the interval can be configured), I need to stop the main thread execution for a second. Most of the time xmonad is blocked in a foreign call (XNextEvent) in the 'forever' loop. This means I cannot destroy the window in a forked thread (which would be blocked too): so I have to block the main thread. But I have to block the main thread in doLayout (actually redoLayout, since we are talking about a layout modifier), which means we block *before* returning the windows and rectangles list... which means, the window with the workspace name is displayed *before* displaying the workspace itself! This is the reason why I use xmobar and DynamcLog to know the workspace I'm in, and this is the reason I did not push this patch. Perhaps I'm missing something really stupid (David?), but I'm not so sure...;) What do you think? Andrea Fri Dec 28 19:16:04 CET 2007 Andrea Rossato <andrea.rossato@unibz.it> * Add ShowWName a layout modifier to show the workspace name when switching