We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7046be + ca50635 commit 100afa6Copy full SHA for 100afa6
src/widget_window.c
@@ -98,6 +98,9 @@ GtkWidget *widget_window_create(
98
widget = gtk_window_new(GTK_WINDOW_TOPLEVEL);
99
100
#if HAVE_GTK_LAYER_SHELL
101
+ if (getenv("GDK_BACKEND") && strcmp(getenv("GDK_BACKEND"), "wayland") != 0)
102
+ goto layer_set;
103
+
104
GtkLayerShellLayer layer = GTK_LAYER_SHELL_LAYER_ENTRY_NUMBER;
105
106
value = get_tag_attribute(attr, "layer");
@@ -167,6 +170,7 @@ GtkWidget *widget_window_create(
167
170
}
168
171
169
172
173
+layer_set:
174
#endif
175
176
/* Set a default window title */
0 commit comments