]> Dogcows Code - chaz/openbox/blobdiff - openbox/mouse.c
rendering fixups for submenu bullets
[chaz/openbox] / openbox / mouse.c
index ac0fb1d2b777ac033320ba334f135ae845f798b7..2624ecb930ab7b5458bcb9c9721d93e44a063b36 100644 (file)
@@ -90,8 +90,6 @@ static void fire_button(ObMouseAction a, ObFrameContext context,
     GSList *it;
     ObMouseBinding *b;
 
-    g_message("%d %d %d", context, state, button);
-
     for (it = bound_contexts[context]; it != NULL; it = it->next) {
         b = it->data;
         if (b->state == state && b->button == button)
@@ -123,13 +121,13 @@ 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);
             }
 
-            g_message("acting");
-
             act->func(&act->data);
         }
     }
This page took 0.022761 seconds and 4 git commands to generate.