We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0e11b9 + 329a5e0 commit 44998cfCopy full SHA for 44998cf
linux/my_application.cc
@@ -32,8 +32,9 @@ static void my_application_activate(GApplication* application) {
32
GdkScreen* screen = gtk_window_get_screen(window);
33
if (GDK_IS_X11_SCREEN(screen)) {
34
const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
35
- if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
36
- use_header_bar = FALSE;
+ if (g_strcmp0(wm_name, "GNOME Shell") != 0 &&
+ g_strcmp0(wm_name, "KWin") != 0) {
37
+ use_header_bar = FALSE;
38
}
39
40
#endif
0 commit comments