GNOME Bugzilla – Bug 757471
Desktop window misplaced with gtk+ 3.19
Last modified: 2015-11-12 10:53:58 UTC
Starting with gtk-+3.19.x, gtk+ will try to compensate for the client-side decorations when moving/resizing windows. With this, the Nautilus desktop window is misplaced because at the time it's positioned, gtk+ cannot determine it will be undecorated eventually, both the gtk_window_set_decorated() and the type hint (_NET_WM_WINDOW_TYPE) are set after the move in nautilus-desktop-window.c, nautilus_desktop_window_constructed()
Created attachment 314631 [details] [review] Proposed fix To avoid this, move gtk_window_move() after gtk_window_set_decorated() so that gtk+ is aware that the window is not decorated and doesn't apply the offset to compensate for client-side decorations.
Review of attachment 314631 [details] [review]: Looks logic to me, thanks!
attachment 314631 [details] [review] pushed as commit e257e84 desktop: undecorate the window before positioning