From 38268dc917ac9e59d9e8ef87825c9489ced77e95 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 22 Jun 2007 03:53:22 +0000 Subject: add the showmenu action --- openbox/client_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/client_menu.c') 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 */ -- cgit v1.2.3