X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient_menu.c;h=8e29bd7e5a18572ad9a389ae2fcca39e6150c4a0;hb=1b7e813c62a6e54690d15550d51ac4269e63f346;hp=cc67a4613568408d7f1e991ac8f93b8f64e85095;hpb=99c6a00cf6cae461f45d8fd3e852a9479f3694bc;p=chaz%2Fopenbox diff --git a/openbox/client_menu.c b/openbox/client_menu.c index cc67a461..8e29bd7e 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -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 */