GNOME Bugzilla – Bug 701341
Windows only paint once in Weston 1.1
Last modified: 2013-05-31 14:27:12 UTC
Wayland 1.1, GTK+ 3.8.2, Weston 1.0 works fine. Upgrade Weston to 1.1 and suddenly gtk3-demo only paints on the initial creation. Any interaction with the window has the effect intended (i.e. new windows will appear if you activate entries in the demo list) but nothing will change in the windows themselves.
My *hunch* is that we need to adapt to the correct behaviour of attach, damage and then commit which weston is now enforcing.
Here is the commit that needs to be backported: commit 2caccf91e47ba20ce92d31c6dcb2db8411fd281e Author: Scott Moreau <oreaus@gmail.com> Date: Sun Mar 10 10:51:01 2013 -0600 wayland: Always attach buffer before committing With recent changes in attach semantics, we always need to attach before committing. Without this changes to the window contents to not get reflected in the content of the surface. Signed-off-by: Rob Bradford <rob@linux.intel.com>
Pushed to 3.8 branch: commit f9dd457b25c66bf86925369339766ceb9112a92c Author: Scott Moreau <oreaus@gmail.com> Date: Sun Mar 10 10:51:01 2013 -0600 wayland: Always attach buffer before committing With recent changes in attach semantics, we always need to attach before committing. Without this changes to the window contents to not get reflected in the content of the surface. Signed-off-by: Rob Bradford <rob@linux.intel.com> Cherry picked to fix: https://bugzilla.gnome.org/show_bug.cgi?id=701341