Fixed overlays covering swaylock

This commit is contained in:
Erik Reider
2021-07-28 12:21:51 +02:00
parent 7f8ebbcbc4
commit f1054317ac
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ namespace SwayNotificatonCenter {
public ControlCenterWidget () { public ControlCenterWidget () {
GtkLayerShell.init_for_window (this); GtkLayerShell.init_for_window (this);
GtkLayerShell.set_layer (this, GtkLayerShell.Layer.OVERLAY); GtkLayerShell.set_layer (this, GtkLayerShell.Layer.TOP);
GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.TOP, true); GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.TOP, true);
GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.BOTTOM, true); GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.BOTTOM, true);
GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.RIGHT, true); GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.RIGHT, true);

View File

@@ -7,7 +7,7 @@ namespace SwayNotificatonCenter {
public NotiWindow () { public NotiWindow () {
GtkLayerShell.init_for_window (this); GtkLayerShell.init_for_window (this);
GtkLayerShell.set_layer (this, GtkLayerShell.Layer.OVERLAY); GtkLayerShell.set_layer (this, GtkLayerShell.Layer.TOP);
GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.TOP, true); GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.TOP, true);
GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.RIGHT, true); GtkLayerShell.set_anchor (this, GtkLayerShell.Edge.RIGHT, true);
} }