mirror of https://github.com/encounter/SDL.git
wayland: don't flush after setting fullscreen
This commit is contained in:
parent
c0601d0123
commit
e5f9fae034
|
@ -133,8 +133,6 @@ SetFullscreen(SDL_Window *window, struct wl_output *output)
|
||||||
wl_shell_surface_set_toplevel(wind->shell_surface.wl);
|
wl_shell_surface_set_toplevel(wind->shell_surface.wl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WAYLAND_wl_display_flush(viddata->display);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On modern desktops, we probably will use the xdg-shell protocol instead
|
/* On modern desktops, we probably will use the xdg-shell protocol instead
|
||||||
|
|
Loading…
Reference in New Issue