summaryrefslogtreecommitdiff
path: root/openbox/client_menu.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-22 03:53:22 +0000
committerDana Jansens <danakj@orodu.net>2007-06-22 03:53:22 +0000
commit38268dc917ac9e59d9e8ef87825c9489ced77e95 (patch)
treea66a1deb0f3a9f97e1ffce690b0a7c8e6f579455 /openbox/client_menu.c
parent9dacac5e5e6b9ed86e76680b048bc227d8866ac6 (diff)
add the showmenu action
Diffstat (limited to 'openbox/client_menu.c')
-rw-r--r--openbox/client_menu.c4
1 files changed, 2 insertions, 2 deletions
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 */