Skip to content

Commit

Permalink
Fix positioned windows
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Jan 26, 2025
1 parent aa38b18 commit 267143a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public class Gala.DesktopWorkspaceSwitcher : Clutter.Actor {
continue;
}

if (ShellClientsManager.get_instance ().is_positioned_window (window)) {
continue;
}

var clone = new Clutter.Clone (window_actor);
clone.x = window_actor.x - monitor_geom.x;
clone.y = window_actor.y - monitor_geom.y;
Expand Down Expand Up @@ -199,6 +203,10 @@ public class Gala.DesktopWorkspaceSwitcher : Clutter.Actor {
return true;
}

if (ShellClientsManager.get_instance ().is_positioned_window (window)) {
return true;
}

return window == window_grab_tracker.current_window;
}

Expand Down

0 comments on commit 267143a

Please sign in to comment.