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

Fix #10927

Co-authored-by: NiLuJe <ninuje@gmail.com>
This commit is contained in:
hrdlandNiLuJe authored and GitHub committed 2023-09-28 19:50:02 +02:00
1 parent ed885a79b2
commit 4875f63f09
1 file changed
+3
+3
View File
@@ -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