Gtk: Fix refresh rate detection break.

This commit is contained in:
BearOso 2024-10-14 10:16:05 -05:00
parent 0c228f0e0c
commit 1fc9f26522
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ Snes9xWindow::get_refresh_rate()
#endif #endif
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
if (is_wayland()) if (!is_wayland())
{ {
Window xid = gdk_x11_window_get_xid(gdk_window); Window xid = gdk_x11_window_get_xid(gdk_window);
Display *dpy = gdk_x11_display_get_xdisplay(gdk_display); Display *dpy = gdk_x11_display_get_xdisplay(gdk_display);