projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd12a2e
)
position the client menu right
author
Dana Jansens
<danakj@orodu.net>
Fri, 20 Jun 2003 02:19:53 +0000
(
02:19
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 20 Jun 2003 02:19:53 +0000
(
02:19
+0000)
plugins/menu/client_menu.c
patch
|
blob
|
history
diff --git
a/plugins/menu/client_menu.c
b/plugins/menu/client_menu.c
index
142c665
..
fb15c1b
100644
(file)
--- a/
plugins/menu/client_menu.c
+++ b/
plugins/menu/client_menu.c
@@
-47,8
+47,8
@@
void client_menu_show(Menu *self, int x, int y, Client *client)
g_assert(!self->invalid);
g_assert(client);
- newy = MAX(client->frame->area.y + client->frame->size.top,
-
y - theme_bwidth)
;
+ newy = MAX(client->frame->area.y + client->frame->size.top,
y);
+
newy -= theme_bwidth
;
POINT_SET(self->location,
MIN(x, screen_physical_size.width - self->size.width -