Skip to content

Commit

Permalink
WindowCloneContainer: Fix crash when selecting next
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Aug 16, 2024
1 parent e994d58 commit 011682a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Widgets/WindowCloneContainer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ namespace Gala {

var window_rect = ((WindowClone) child).slot;

if (window_rect == null) {
continue;
}

if (direction == LEFT) {
if (window_rect.x > current_rect.x) {
continue;
Expand Down

0 comments on commit 011682a

Please sign in to comment.