Skip to content

Commit 086be68

Browse files
committed
Fix window switcher crash
1 parent d9713d1 commit 086be68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/WindowSwitcher/WindowSwitcher.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public class Gala.WindowSwitcher : CanvasActor, GestureTarget {
248248
}
249249

250250
var new_icon = (WindowSwitcherIcon) container.get_child_at_index (current_index);
251-
if (new_icon != current_icon) {
251+
if (new_icon != null && new_icon != current_icon) {
252252
current_icon = new_icon;
253253
}
254254
}

0 commit comments

Comments
 (0)