Do not pass focus to the desktop by default (Fix bug #1853). The problem is...
Do not pass focus to the desktop by default (Fix bug #1853). The problem is that xfdesktop sets its InputHint from WM Hints property to False to avoid focus, but GTK+ itself sets the WM_TAKE_FOCUS property, so it's impossible for the WM to tell whether or not the windows may or may not accept focus, which leads to unpredictable results when the last available focusable window vanishes (which is just what happens in bug #1853. From what I saw, metacity and kwin have the same problem. The workaround used here is to simply not use the desktop as a fallback focusable window. If the user wants to focus the desktop, (s)he just has to explicitely click on it. (Old svn revision: 21917)
Please register or sign in to comment