mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
undo focus changes
This commit is contained in:
parent
1edb13b30a
commit
71ab542b6a
1 changed files with 1 additions and 3 deletions
|
|
@ -148,9 +148,7 @@ window_sdl::window_sdl(DisplaySettings *settings, std::string title) noexcept {
|
|||
return;
|
||||
}
|
||||
|
||||
SDL_WindowFlags flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE |
|
||||
// For process mouse clicks when not focused
|
||||
SDL_WINDOW_NOT_FOCUSABLE;
|
||||
SDL_WindowFlags flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE;
|
||||
|
||||
if (settings->fullscreen.get()) {
|
||||
flags |= SDL_WINDOW_FULLSCREEN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue