]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_menu.c
add the showdesktop action
[chaz/openbox] / openbox / client_menu.c
index ce29db10b5945d0ad0220a507391b8103b74a4bd..8e29bd7e5a18572ad9a389ae2fcca39e6150c4a0 100644 (file)
@@ -286,18 +286,18 @@ static void send_to_menu_execute(ObMenuEntry *e, ObMenuFrame *f,
 {
     g_assert(c);
 
-    client_set_desktop(c, e->id, FALSE);
+    client_set_desktop(c, e->id, FALSE, FALSE);
     /* the client won't even be on the screen anymore, so hide the menu */
     if (f)
         menu_frame_hide_all();
 }
 
 static void client_menu_place(ObMenuFrame *frame, gint *x, gint *y,
-                              gint button, gpointer data)
+                              gboolean mouse, gpointer data)
 {
     gint dx, dy;
 
-    if (button == 0 && frame->client) {
+    if (!mouse && frame->client) {
         *x = frame->client->frame->area.x;
 
         /* try below the titlebar */
This page took 0.020462 seconds and 4 git commands to generate.