Set Layer Namespace

This commit is contained in:
V7 2024-02-24 10:02:43 +05:30 committed by GitHub
parent 71998254e3
commit a70833a88d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -212,6 +212,7 @@ static void activate (GtkApplication* app, gpointer user_data)
gtk_window_set_title(GTK_WINDOW (window), "Window");
gtk_layer_init_for_window(GTK_WINDOW(window));
gtk_layer_set_namespace(GTK_WINDOW(window), "desktop-icons");
gtk_layer_set_layer(GTK_WINDOW(window), GTK_LAYER_SHELL_LAYER_BOTTOM);
for (int anchor = 0; anchor < 4; anchor++)