all repos — openbox @ 58dc86971a86b5f843fc93bba2dd8882f60c41a0

openbox fork - make it a bit more like ryudo

remove windows from the hash on hide, dont readd them again!
Dana Jansens danakj@orodu.net
commit

58dc86971a86b5f843fc93bba2dd8882f60c41a0

parent

66c350763fa85cfda0b6561ace9c032d3aa03b71

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M openbox/menuframe.copenbox/menuframe.c

@@ -174,15 +174,15 @@ {

if (self) { XDestroyWindow(ob_display, self->text); XDestroyWindow(ob_display, self->window); - g_hash_table_insert(menu_frame_map, &self->text, self); - g_hash_table_insert(menu_frame_map, &self->window, self); + g_hash_table_remove(menu_frame_map, &self->text); + g_hash_table_remove(menu_frame_map, &self->window); if (self->entry->type == OB_MENU_ENTRY_TYPE_NORMAL) { XDestroyWindow(ob_display, self->icon); - g_hash_table_insert(menu_frame_map, &self->icon, self); + g_hash_table_remove(menu_frame_map, &self->icon); } if (self->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU) { XDestroyWindow(ob_display, self->bullet); - g_hash_table_insert(menu_frame_map, &self->bullet, self); + g_hash_table_remove(menu_frame_map, &self->bullet); } RrAppearanceFree(self->a_normal);