diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index 3cfd2782d..efd36354a 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -655,14 +655,8 @@ int X11_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesI return SDL_SetError("Couldn't create window"); } - /* Do not set borderless window if in desktop fullscreen, this causes - flickering in multi-monitor setups */ - if (!((window->pending_flags & SDL_WINDOW_FULLSCREEN) && - (window->flags & SDL_WINDOW_BORDERLESS) && - !window->fullscreen_exclusive)) { - SetWindowBordered(display, screen, w, - !(window->flags & SDL_WINDOW_BORDERLESS)); - } + SetWindowBordered(display, screen, w, + !(window->flags & SDL_WINDOW_BORDERLESS)); sizehints = X11_XAllocSizeHints(); /* Setup the normal size hints */