Skip to content

Commit 44998cf

Browse files
authored
Merge pull request #217 from detiam/kwin-shadow
2 parents a0e11b9 + 329a5e0 commit 44998cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

linux/my_application.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ static void my_application_activate(GApplication* application) {
3232
GdkScreen* screen = gtk_window_get_screen(window);
3333
if (GDK_IS_X11_SCREEN(screen)) {
3434
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;
35+
if (g_strcmp0(wm_name, "GNOME Shell") != 0 &&
36+
g_strcmp0(wm_name, "KWin") != 0) {
37+
use_header_bar = FALSE;
3738
}
3839
}
3940
#endif

0 commit comments

Comments
 (0)