diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 26cac43..6383098 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6106,7 +6106,7 @@ gtk_window_should_use_csd (GtkWindow *window)
   if (GDK_IS_WAYLAND_DISPLAY (gtk_widget_get_display (GTK_WIDGET (window))))
     {
       GdkDisplay *gdk_display = gtk_widget_get_display (GTK_WIDGET (window));
-      return !gdk_wayland_display_prefers_ssd (gdk_display);
+      return gdk_wayland_display_prefers_ssd (gdk_display);
     }
 #endif
 
