sdl: ensure dialogs are displayed after window change events (#10929)

Fix #10927

Co-authored-by: NiLuJe <ninuje@gmail.com>
reviewable/pr10941/r3
hrdl 7 months ago committed by GitHub
parent ed885a79b2
commit 4875f63f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -272,6 +272,9 @@ function Device:init()
FileManager.instance:reinit(FileManager.instance.path,
FileManager.instance.focused_file)
end
-- make sure dialogs are displayed
UIManager:setDirty("all", "ui")
elseif ev.code == SDL_WINDOWEVENT_MOVED then
self.window.left = ev.value.data1
self.window.top = ev.value.data2

Loading…
Cancel
Save