File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -78,16 +78,13 @@ public class Gala.WindowStateSaver : GLib.Object {
7878 public static void on_map (Meta .Window window ) {
7979 var app_id = window_tracker. get_app_for_window (window). id;
8080
81- if (app_id. has_prefix (" window:" )) {
82- // if window failed to be identified, don't remember it
83- return ;
84- }
85-
86- if (window. window_type != Meta . WindowType . NORMAL ) {
87- return ;
88- }
89-
90- if (ShellClientsManager . get_instance (). is_positioned_window (window)) {
81+ if (app_id. has_prefix (" window:" ) || // if window failed to be identified, don't remember it
82+ ShellClientsManager . get_instance (). is_positioned_window (window) ||
83+ window. window_type != Meta . WindowType . NORMAL ||
84+ window. skip_taskbar ||
85+ ! window. resizeable ||
86+ ! window. allows_move ()
87+ ) {
9188 return ;
9289 }
9390
You can’t perform that action at this time.
0 commit comments