Skip to content

Commit 5509269

Browse files
leolost2605danirabbit
authored andcommitted
WindowCloneContainer: Fix crash when selecting next
1 parent 0c12d79 commit 5509269

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Widgets/WindowCloneContainer.vala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ namespace Gala {
277277

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

280+
if (window_rect == null) {
281+
continue;
282+
}
283+
280284
if (direction == LEFT) {
281285
if (window_rect.x > current_rect.x) {
282286
continue;

0 commit comments

Comments
 (0)