]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_menu.c
add the showmenu action
[chaz/openbox] / openbox / client_menu.c
index cc67a4613568408d7f1e991ac8f93b8f64e85095..8e29bd7e5a18572ad9a389ae2fcca39e6150c4a0 100644 (file)
@@ -293,11 +293,11 @@ static void send_to_menu_execute(ObMenuEntry *e, ObMenuFrame *f,
 }
 
 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.024993 seconds and 4 git commands to generate.