After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754993 - notify Cogl immediately of a foreign window resize in GDK/X11 backend
notify Cogl immediately of a foreign window resize in GDK/X11 backend
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: gdk
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-14 11:50 UTC by Lionel Landwerlin
Modified: 2015-09-14 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: x11: notify Cogl immediately of a foreign window resize (2.88 KB, patch)
2015-09-14 11:50 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2015-09-14 11:50:02 UTC
We're missing a workaround from Clutter-Gtk in the GDK backend for
X11.
Comment 1 Lionel Landwerlin 2015-09-14 11:50:06 UTC
Created attachment 311272 [details] [review]
gdk: x11: notify Cogl immediately of a foreign window resize

We want to avoid waiting for the acknowledgement event from the X
server as we might redraw the stage before that happens.

This patch reimplements a bit of logic already in clutter-gtk [1].

[1] : https://git.gnome.org/browse/clutter-gtk/tree/clutter-gtk/gtk-clutter-embed.c#n723
Comment 2 Emmanuele Bassi (:ebassi) 2015-09-14 12:01:13 UTC
Review of attachment 311272 [details] [review]:

Makes sense.
Comment 3 Lionel Landwerlin 2015-09-14 12:50:07 UTC
Review of attachment 311272 [details] [review]:

Pushed to master.