mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
store the window menu on the display and blow it away when a window
2002-10-28 Havoc Pennington <hp@pobox.com> * src/window.c, src/display.c: store the window menu on the display and blow it away when a window closes, so we don't get funny stuck menus. Patch from Martin Garton #87514
This commit is contained in:

committed by
Havoc Pennington

parent
c9c67387ce
commit
effec94613
@@ -394,8 +394,11 @@ meta_display_open (const char *name)
|
||||
|
||||
display->groups_by_leader = NULL;
|
||||
|
||||
display->window_with_menu = NULL;
|
||||
display->window_menu = NULL;
|
||||
|
||||
display->screens = NULL;
|
||||
|
||||
|
||||
#ifdef HAVE_STARTUP_NOTIFICATION
|
||||
display->sn_display = sn_display_new (display->xdisplay,
|
||||
sn_error_trap_push,
|
||||
|
Reference in New Issue
Block a user