mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
init prev_mask field
2003-11-24 Havoc Pennington <hp@redhat.com> * src/iconcache.c (meta_icon_cache_init): init prev_mask field * src/window.c (meta_window_new_with_attrs): init xgroup_leader prior to use
This commit is contained in:
parent
4ccb120922
commit
47a1c285c7
@ -1,3 +1,10 @@
|
||||
2003-11-24 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/iconcache.c (meta_icon_cache_init): init prev_mask field
|
||||
|
||||
* src/window.c (meta_window_new_with_attrs): init xgroup_leader
|
||||
prior to use
|
||||
|
||||
2003-11-24 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/display.c (meta_display_begin_grab_op): add an event_serial
|
||||
|
@ -520,6 +520,7 @@ meta_icon_cache_init (MetaIconCache *icon_cache)
|
||||
|
||||
icon_cache->origin = USING_NO_ICON;
|
||||
icon_cache->prev_pixmap = None;
|
||||
icon_cache->prev_mask = None;
|
||||
#if 0
|
||||
icon_cache->icon = NULL;
|
||||
icon_cache->mini_icon = NULL;
|
||||
|
14
src/window.c
14
src/window.c
@ -377,11 +377,6 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
||||
|
||||
window->desc = g_strdup_printf ("0x%lx", window->xwindow);
|
||||
|
||||
/* assign the window to its group, or create a new group if needed
|
||||
*/
|
||||
window->group = NULL;
|
||||
meta_window_compute_group (window);
|
||||
|
||||
/* avoid tons of stack updates */
|
||||
meta_stack_freeze (window->screen->stack);
|
||||
|
||||
@ -491,7 +486,6 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
||||
window->net_wm_pid = -1;
|
||||
|
||||
window->xtransient_for = None;
|
||||
window->xgroup_leader = None;
|
||||
window->xclient_leader = None;
|
||||
window->transient_parent_is_root_window = FALSE;
|
||||
|
||||
@ -509,8 +503,16 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
||||
window->layer = META_LAYER_LAST; /* invalid value */
|
||||
window->stack_position = -1;
|
||||
window->initial_workspace = 0; /* not used */
|
||||
|
||||
meta_display_register_x_window (display, &window->xwindow, window);
|
||||
|
||||
|
||||
/* assign the window to its group, or create a new group if needed
|
||||
*/
|
||||
window->group = NULL;
|
||||
window->xgroup_leader = None;
|
||||
meta_window_compute_group (window);
|
||||
|
||||
/* Fill these in the order we want them to be gotten.
|
||||
* we want to get window name and class first
|
||||
* so we can use them in error messages and such.
|
||||
|
Loading…
Reference in New Issue
Block a user