Fixed overlays covering swaylock
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user