diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-12-07 21:10:18 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-12-07 21:10:18 +0800 |
| commit | f16bfe4b1acf1718aeaff311ed23278834a8a17b (patch) | |
| tree | 8d05798ed1c0ebca10e43d5dc9d966aa0bd24289 /src/platform/gui/sdl/Window.cpp | |
| parent | b3b68c704926b71afc923f392b0cc91107717112 (diff) | |
| download | cru-f16bfe4b1acf1718aeaff311ed23278834a8a17b.tar.gz cru-f16bfe4b1acf1718aeaff311ed23278834a8a17b.tar.bz2 cru-f16bfe4b1acf1718aeaff311ed23278834a8a17b.zip | |
Lower timer priority (including rendering) in SDL.
Diffstat (limited to 'src/platform/gui/sdl/Window.cpp')
| -rw-r--r-- | src/platform/gui/sdl/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/gui/sdl/Window.cpp b/src/platform/gui/sdl/Window.cpp index 35d33172..44860ae3 100644 --- a/src/platform/gui/sdl/Window.cpp +++ b/src/platform/gui/sdl/Window.cpp @@ -280,7 +280,7 @@ void SdlWindow::DoCreateWindow() { client_rect_.top)); } - if (!IsWayland() || !sdl_is_popup_) { + if (!sdl_is_popup_) { CheckSdlReturn(SDL_SetWindowParent( sdl_window_, parent_ == nullptr ? nullptr : parent_->sdl_window_)); } |
