window: Construct the frame before the initial move_resize
This ensures sure that the initial ConfigureRequest we make is correct.
This commit is contained in:
@ -1044,9 +1044,6 @@ _meta_window_shared_new (MetaDisplay *display,
|
||||
if (window->attached)
|
||||
meta_window_recalc_features (window);
|
||||
|
||||
if (window->decorated)
|
||||
meta_window_ensure_frame (window);
|
||||
|
||||
if (window->type == META_WINDOW_DESKTOP ||
|
||||
window->type == META_WINDOW_DOCK)
|
||||
{
|
||||
@ -1393,9 +1390,6 @@ meta_window_unmanage (MetaWindow *window,
|
||||
|
||||
META_WINDOW_GET_CLASS (window)->unmanage (window);
|
||||
|
||||
if (window->frame)
|
||||
meta_window_destroy_frame (window);
|
||||
|
||||
meta_prefs_remove_listener (prefs_changed_callback, window);
|
||||
meta_screen_queue_check_fullscreen (window->screen);
|
||||
|
||||
|
Reference in New Issue
Block a user