mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Fix refresh rate detection break.
This commit is contained in:
parent
0c228f0e0c
commit
1fc9f26522
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue