]> Dogcows Code - chaz/openbox/blobdiff - openbox/mouse.c
add an option for if the popup is used for desktop cycling. defaults on.
[chaz/openbox] / openbox / mouse.c
index 6651a1f2c1c39d73e34da2140c78e7cc69d86d5a..2624ecb930ab7b5458bcb9c9721d93e44a063b36 100644 (file)
@@ -121,8 +121,10 @@ static void fire_button(ObMouseAction a, ObFrameContext context,
                 act->data.sendtodir.cancel = FALSE;
             }
 
-            if ((act->func == action_desktop_dir ||
-                 act->func == action_send_to_desktop_dir)) {
+            if (config_desktop_popup &&
+                (act->func == action_desktop_dir ||
+                 act->func == action_send_to_desktop_dir))
+            {
                 keyboard_interactive_grab(state, c, context, act);
             }
 
This page took 0.021091 seconds and 4 git commands to generate.