Comment 29 for bug 1724557

wdoekes (walter+ubuntu) wrote :

In my case, applying just [3] wasn't enough.
[1] https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1724557
[2] https://bugzilla.gnome.org/show_bug.cgi?id=788764
[3] https://bug788764.bugzilla-attachments.gnome.org/attachment.cgi?id=361654

I also had to apply [6] to fix [5]:
[4] https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1726352
[5] https://bugzilla.gnome.org/show_bug.cgi?id=790207 (possibly?)
[6]
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -1973,6 +1973,9 @@ meta_window_move_resize_request (MetaWindow *window,
   gboolean in_grab_op;
   MetaMoveResizeFlags flags;

+ if (!window->monitor)
+ return;
+
   /* We ignore configure requests while the user is moving/resizing
    * the window, since these represent the app sucking and fighting
    * the user, most likely due to a bug in the app (e.g. pfaedit

I created builds for Artful here, which appear to work:
https://downloads.osso.nl/libmutter-3.26.2-ubuntu-artful/libmutter_3.26.2-0ubuntu0.1osso1/

The only added patch is:
https://downloads.osso.nl/libmutter-3.26.2-ubuntu-artful/libmutter_3.26.2-0ubuntu0.1osso1/handle_resizing_when_headless.patch

Cheers,
Walter Doekes
OSSO B.V.