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 778040 - Make all our window clones use the MetaWindowActor as source
Make all our window clones use the MetaWindowActor as source
Status: RESOLVED DUPLICATE of bug 756715
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-01 18:16 UTC by Rui Matos
Modified: 2017-02-01 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make all our window clones use the MetaWindowActor as source (2.88 KB, patch)
2017-02-01 18:16 UTC, Rui Matos
none Details | Review

Description Rui Matos 2017-02-01 18:16:50 UTC
See patch.
Comment 1 Rui Matos 2017-02-01 18:16:54 UTC
Created attachment 344730 [details] [review]
Make all our window clones use the MetaWindowActor as source

Using a MetaWindowActor's shaped texture as the source for window
clones means that if there are further MetaSurfaceActor children
(e.g. a wayland client using sub-surfaces) they don't get cloned.

This obviously wasn't an issue until wayland clients introduced the
possibility of having multiple MetaSurfaceActors under a
MetaWindowActor but there's no fundamental reason we can't clone the
toplevel actor.

WorkspaceThumbnail.WindowClone is the one class that was already using
the MetaWindowActor instead of the texture although it seems to have
been an unintended change in commit
8b99617513da1713ff88ca4abf54e6125405d31c.
Comment 2 Rui Matos 2017-02-01 18:20:53 UTC

*** This bug has been marked as a duplicate of bug 756715 ***