diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 00:53:21 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 00:53:21 +0000 |
| commit | b6897feb409e14b3bfb71724a72f52e798f5a3ef (patch) | |
| tree | b14915c96efc02c2bc388a18f16b3c09a09419f8 /openbox/menuframe.c | |
| parent | 957963e272be1fba1e06dd2bdcfa9a4348121baf (diff) | |
better event handling for menus
Diffstat (limited to 'openbox/menuframe.c')
| -rw-r--r-- | openbox/menuframe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c index c417c05a..a5c301ed 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -738,7 +738,8 @@ gboolean menu_frame_show_submenu(ObMenuFrame *self, ObMenuFrame *parent, XMapWindow(ob_display, self->window); - if (screen_pointer_pos(&dx, &dy) && (e = menu_entry_frame_under(dx, dy))) + if (screen_pointer_pos(&dx, &dy) && (e = menu_entry_frame_under(dx, dy)) && + e->frame == self) ++e->ignore_enters; return TRUE; |
