projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a7ff45
)
Fix a typo causing submenuShowDelay to be ignored (Bug 6019)
author
Tom Sires
<tsires@uno.edu>
Tue, 27 Aug 2013 13:02:31 +0000
(08:02 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 1 Sep 2013 15:22:31 +0000
(11:22 -0400)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index
b49a221
..
3252bb3
100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-1242,9
+1242,9
@@
void menu_frame_select(ObMenuFrame *self, ObMenuEntryFrame *entry,
if (self->selected->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU) {
/* only show if the submenu isn't already showing */
if (oldchild_entry != self->selected) {
if (self->selected->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU) {
/* only show if the submenu isn't already showing */
if (oldchild_entry != self->selected) {
- if (immediate || config_submenu_
hide
_delay == 0)
+ if (immediate || config_submenu_
show
_delay == 0)
menu_entry_frame_show_submenu(self->selected);
menu_entry_frame_show_submenu(self->selected);
- else if (config_submenu_
hide
_delay > 0) {
+ else if (config_submenu_
show
_delay > 0) {
if (submenu_show_timer)
g_source_remove(submenu_show_timer);
submenu_show_timer =
if (submenu_show_timer)
g_source_remove(submenu_show_timer);
submenu_show_timer =