From 1fc9f2652271073a6dc59c985b49e72f6f6e8385 Mon Sep 17 00:00:00 2001 From: BearOso Date: Mon, 14 Oct 2024 10:16:05 -0500 Subject: [PATCH] Gtk: Fix refresh rate detection break. --- gtk/src/gtk_s9xwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/gtk_s9xwindow.cpp b/gtk/src/gtk_s9xwindow.cpp index 58b900b2..fe4e8595 100644 --- a/gtk/src/gtk_s9xwindow.cpp +++ b/gtk/src/gtk_s9xwindow.cpp @@ -1052,7 +1052,7 @@ Snes9xWindow::get_refresh_rate() #endif #ifdef GDK_WINDOWING_X11 - if (is_wayland()) + if (!is_wayland()) { Window xid = gdk_x11_window_get_xid(gdk_window); Display *dpy = gdk_x11_display_get_xdisplay(gdk_display);