GNOME Bugzilla – Bug 694394
ScreenShield: fix positioning of background with multimonitor
Last modified: 2013-02-25 13:47:56 UTC
Previously, we would create one StBin per monitor, but each was positioned at 0,0 and sized as the screen, so they would overlap and draw the box shadows on top of the other backgrounds. Instead, we need to size appropriately the bin, and then we need to position the actual MetaBacgroundActor at 0,0, so add a flag to BackgroundManager for this. Also, get rid of MetaBackgroundGroup, they do nothing because the screenshield is not a descendant of the MetaWindowGroup and because the widget in between blocks the propagation of the visible region. At the same time, use a widget, not a bin, because StBin requires you to set .child, not call add_child().
Created attachment 237120 [details] [review] ScreenShield: fix positioning of background with multimonitor
Review of attachment 237120 [details] [review]: ok
Attachment 237120 [details] pushed as d5e647a - ScreenShield: fix positioning of background with multimonitor