X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient_menu.c;fp=openbox%2Fclient_menu.c;h=8e29bd7e5a18572ad9a389ae2fcca39e6150c4a0;hb=38268dc917ac9e59d9e8ef87825c9489ced77e95;hp=cc67a4613568408d7f1e991ac8f93b8f64e85095;hpb=9dacac5e5e6b9ed86e76680b048bc227d8866ac6;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 */