Skip to content

Commit c3210ff

Browse files
authored
WindowStateSaver: Don't restore dialogs state (#2644)
Fixes #2627
1 parent c5e5ec2 commit c3210ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WindowStateSaver.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public class Gala.WindowStateSaver : GLib.Object {
8080

8181
if (app_id.has_prefix ("window:") || // if window failed to be identified, don't remember it
8282
window.window_type != Meta.WindowType.NORMAL ||
83+
window.get_transient_for () != null ||
8384
window.skip_taskbar ||
8485
!window.resizeable ||
8586
!window.allows_move ()

0 commit comments

Comments
 (0)