summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-09-14 03:11:14 -0700
committerraveit65 <[email protected]>2020-10-24 16:49:14 +0200
commit04b9d67a77d9adac12c5ae446f1e7227bb7d60b6 (patch)
tree288e34f320cc4a01c07a2ec5b89e9c62da88cc23
parent590bedf604ccc05cb9e41c3fc15d93ff827e7f65 (diff)
downloadmate-notification-daemon-04b9d67a77d9adac12c5ae446f1e7227bb7d60b6.tar.bz2
mate-notification-daemon-04b9d67a77d9adac12c5ae446f1e7227bb7d60b6.tar.xz
Set layer and notificaiton
-rw-r--r--src/daemon/wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/wayland.c b/src/daemon/wayland.c
index dbf1f30..7a76e61 100644
--- a/src/daemon/wayland.c
+++ b/src/daemon/wayland.c
@@ -36,6 +36,8 @@
void wayland_init_notification (GtkWindow* nw)
{
gtk_layer_init_for_window (nw);
+ gtk_layer_set_layer (nw, GTK_LAYER_SHELL_LAYER_TOP);
+ gtk_layer_set_namespace (nw, "notification");
}
void wayland_move_notification (GtkWindow* nw, int x, int y)