mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
A combination of a couple memory leaks fixes, from Kjartan, Soeren, and I.
2005-10-03 Elijah Newren <newren@gmail.com> A combination of a couple memory leaks fixes, from Kjartan, Soeren, and I. Fixes #313030. * src/bell.c (meta_bell_flash_screen): call XFreeGC() * src/frames.c (invalidate_cache): free pixels * src/window.c (meta_window_show_menu): call meta_screen_free_workspace_layout()
This commit is contained in:
parent
ea4cd88285
commit
26dbf9856b
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2005-10-03 Elijah Newren <newren@gmail.com>
|
||||||
|
|
||||||
|
A combination of a couple memory leaks fixes, from Kjartan,
|
||||||
|
Soeren, and I. Fixes #313030.
|
||||||
|
|
||||||
|
* src/bell.c (meta_bell_flash_screen): call XFreeGC()
|
||||||
|
|
||||||
|
* src/frames.c (invalidate_cache): free pixels
|
||||||
|
|
||||||
|
* src/window.c (meta_window_show_menu): call
|
||||||
|
meta_screen_free_workspace_layout()
|
||||||
|
|
||||||
2005-10-03 Elijah Newren <newren@gmail.com>
|
2005-10-03 Elijah Newren <newren@gmail.com>
|
||||||
|
|
||||||
Patch from Björn Lindqvist fix the workspace switcher tabpopup to
|
Patch from Björn Lindqvist fix the workspace switcher tabpopup to
|
||||||
|
@ -77,6 +77,7 @@ meta_bell_flash_screen (MetaDisplay *display,
|
|||||||
XFlush (display->xdisplay);
|
XFlush (display->xdisplay);
|
||||||
XSync (display->xdisplay, False);
|
XSync (display->xdisplay, False);
|
||||||
XUnmapWindow (display->xdisplay, screen->flash_window);
|
XUnmapWindow (display->xdisplay, screen->flash_window);
|
||||||
|
XFreeGC (display->xdisplay, gc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (meta_prefs_get_focus_mode () != META_FOCUS_MODE_CLICK &&
|
if (meta_prefs_get_focus_mode () != META_FOCUS_MODE_CLICK &&
|
||||||
|
@ -322,11 +322,8 @@ invalidate_cache (MetaFrames *frames,
|
|||||||
if (pixels->bottom)
|
if (pixels->bottom)
|
||||||
g_object_unref (pixels->bottom);
|
g_object_unref (pixels->bottom);
|
||||||
|
|
||||||
pixels->top = NULL;
|
g_free (pixels);
|
||||||
pixels->bottom = NULL;
|
|
||||||
pixels->right = NULL;
|
|
||||||
pixels->left = NULL;
|
|
||||||
|
|
||||||
g_hash_table_remove (frames->cache, frame);
|
g_hash_table_remove (frames->cache, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6219,6 +6219,8 @@ meta_window_show_menu (MetaWindow *window,
|
|||||||
ops |= META_MENU_OP_MOVE_DOWN;
|
ops |= META_MENU_OP_MOVE_DOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
meta_screen_free_workspace_layout (&layout);
|
||||||
|
|
||||||
if (window->maximized)
|
if (window->maximized)
|
||||||
ops |= META_MENU_OP_UNMAXIMIZE;
|
ops |= META_MENU_OP_UNMAXIMIZE;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user