set the window state hints _after_ applying session information. Fixes

2005-01-25  Elijah Newren  <newren@gmail.com>

	* src/window.c: (meta_window_new_with_attrs): set the window state
	hints _after_ applying session information.  Fixes #164677.
This commit is contained in:
Elijah Newren 2005-01-26 02:47:49 +00:00 committed by Elijah Newren
parent 49479d9b67
commit bb03725397
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2005-01-25 Elijah Newren <newren@gmail.com>
* src/window.c: (meta_window_new_with_attrs): set the window state
hints _after_ applying session information. Fixes #164677.
2005-01-25 Elijah Newren <newren@gmail.com>
Add man pages for metacity-window-demo and metacity-theme-viewer.

View File

@ -588,12 +588,6 @@ meta_window_new_with_attrs (MetaDisplay *display,
*/
meta_screen_apply_startup_properties (window->screen, window);
/* FIXME we have a tendency to set this then immediately
* change it again.
*/
set_wm_state (window, window->iconic ? IconicState : NormalState);
set_net_wm_state (window);
if (window->decorated)
meta_window_ensure_frame (window);
@ -714,6 +708,12 @@ meta_window_new_with_attrs (MetaDisplay *display,
}
}
/* FIXME we have a tendency to set this then immediately
* change it again.
*/
set_wm_state (window, window->iconic ? IconicState : NormalState);
set_net_wm_state (window);
/* Sync stack changes */
meta_stack_thaw (window->screen->stack);