Hi all (once again)

I ran into a bit of trouble when I started playing with nautilus a while
ago -- turns out that ClickToFocusPassesClick does not pass the click
through to the desktop window.  For an example:

-> "Style * ClickToFocus, ClickToFocusPassesClick"
-> Run nautilus as desktop manager
-> open an application window (say, gcalctool)
-> ensure said window is focused
-> try to click on a desktop icon

Instead of opening said desktop icon, the desktop window is focused.
You'll have to click again to get something done.

Patch is against 2.5.17


diff -Nurp fvwm-2.5.17/fvwm/ewmh.c fvwm-2.5.17-new/fvwm/ewmh.c
--- fvwm-2.5.17/fvwm/ewmh.c     2005-08-04 11:13:07.000000000 +0200
+++ fvwm-2.5.17-new/fvwm/ewmh.c 2005-09-22 17:08:24.000000000 +0200
@@ -1346,10 +1346,10 @@ int ewmh_HandleDesktop(EWMH_CMD_ARGS)
        FPS_GRAB_FOCUS(S_FOCUS_POLICY(SCC(*style)), 1);
 
        /* ClickToFocusPassesClick */
-       FPS_PASS_FOCUS_CLICK(S_FOCUS_POLICY(SCF(*style)), 0);
+       FPS_PASS_FOCUS_CLICK(S_FOCUS_POLICY(SCF(*style)), 1);
        FPS_PASS_FOCUS_CLICK(S_FOCUS_POLICY(SCM(*style)), 1);
        FPS_PASS_FOCUS_CLICK(S_FOCUS_POLICY(SCC(*style)), 1);
-       FPS_PASS_RAISE_CLICK(S_FOCUS_POLICY(SCF(*style)), 0);
+       FPS_PASS_RAISE_CLICK(S_FOCUS_POLICY(SCF(*style)), 1);
        FPS_PASS_RAISE_CLICK(S_FOCUS_POLICY(SCM(*style)), 1);
        FPS_PASS_RAISE_CLICK(S_FOCUS_POLICY(SCC(*style)), 1);
 

Reply via email to