File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ public class Gala.DesktopIntegration : GLib.Object {
7878 return false ;
7979 }
8080
81- if (ShellClientsManager . get_instance (). is_positioned_window (window)) {
82- return false ;
83- }
84-
8581 switch (window. get_window_type ()) {
8682 case Meta . WindowType . NORMAL:
8783 case Meta . WindowType . DIALOG:
Original file line number Diff line number Diff line change @@ -210,17 +210,19 @@ namespace Gala {
210210 });
211211
212212 foreach (var window in list) {
213- if (! ShellClientsManager . get_instance (). is_positioned_window (window)) {
214- if (any_window == null ) {
215- any_window = window;
216- }
213+ if (window. find_root_ancestor (). window_type == DOCK ) {
214+ continue ;
215+ }
217216
218- if (! Utils . get_window_is_normal (window) ) {
219- continue ;
220- }
217+ if (any_window == null ) {
218+ any_window = window ;
219+ }
221220
222- return window;
221+ if (! Utils . get_window_is_normal (window)) {
222+ continue ;
223223 }
224+
225+ return window;
224226 }
225227
226228 return null ;
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ public class Gala.WindowStateSaver : GLib.Object {
7979 var app_id = window_tracker. get_app_for_window (window). id;
8080
8181 if (app_id. has_prefix (" window:" ) || // if window failed to be identified, don't remember it
82- ShellClientsManager . get_instance (). is_positioned_window (window) ||
8382 window. window_type != Meta . WindowType . NORMAL ||
8483 window. skip_taskbar ||
8584 ! window. resizeable ||
You can’t perform that action at this time.
0 commit comments