2019-10-04 15:46:38 +00:00
|
|
|
diff -urp gnome-shell-3.33.91.orig/js/ui/screenShield.js gnome-shell-3.33.91/js/ui/screenShield.js
|
|
|
|
--- gnome-shell-3.33.91.orig/js/ui/screenShield.js 2019-09-04 14:04:13.523059437 -0500
|
|
|
|
+++ gnome-shell-3.33.91/js/ui/screenShield.js 2019-09-04 14:20:01.448084179 -0500
|
|
|
|
@@ -492,7 +492,7 @@ var ScreenShield = class {
|
2016-09-04 13:22:57 +00:00
|
|
|
y_expand: true,
|
|
|
|
reactive: true,
|
|
|
|
pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }),
|
|
|
|
- name: 'lockDialogGroup' });
|
|
|
|
+ name: 'lockDialogGroupReal' });
|
|
|
|
|
2019-10-04 15:46:38 +00:00
|
|
|
// Add background for this._lockDialogGroup
|
|
|
|
this._bgLockDialogGroup = new Clutter.Actor();
|
|
|
|
@@ -505,6 +505,28 @@ var ScreenShield = class {
|
|
|
|
Main.layoutManager.connect('monitors-changed', this._updateBgLockDialogGroup.bind(this));
|
|
|
|
|
2016-09-04 13:22:57 +00:00
|
|
|
this.actor.add_actor(this._lockDialogGroup);
|
|
|
|
+
|
|
|
|
+ let primaryBackground = new St.Widget({ x_expand: true,
|
|
|
|
+ y_expand: true,
|
|
|
|
+ reactive: true,
|
|
|
|
+ pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }),
|
|
|
|
+ name: 'lockDialogGroup' });
|
|
|
|
+ primaryBackground.add_constraint(new Layout.MonitorConstraint({ primary: true }));
|
2019-10-04 15:46:38 +00:00
|
|
|
++ this.actor.insert_child_below(primaryBackground, null);
|
2016-09-04 13:22:57 +00:00
|
|
|
+
|
|
|
|
+ for (let i = 0; i < Main.layoutManager.monitors.length; i++) {
|
|
|
|
+ if (Main.layoutManager.monitors [i].index == Main.layoutManager.primaryMonitor.index)
|
|
|
|
+ continue;
|
|
|
|
+
|
|
|
|
+ let group = new St.Widget({ x_expand: true,
|
|
|
|
+ y_expand: true,
|
|
|
|
+ reactive: true,
|
|
|
|
+ pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }),
|
|
|
|
+ name: 'lockDialogGroup' });
|
|
|
|
+ group.add_constraint(new Layout.MonitorConstraint({ index: i }));
|
|
|
|
+ this.actor.insert_child_below(group, null);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
this.actor.add_actor(this._lockScreenGroup);
|
|
|
|
|
2019-10-04 15:46:38 +00:00
|
|
|
this._presence = new GnomeSession.Presence((proxy, error) => {
|