mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
Prevent the use of a null current_window
This commit is contained in:
parent
60478f3281
commit
48d63995b9
@ -333,7 +333,10 @@ namespace Gala
|
||||
break;
|
||||
}
|
||||
}
|
||||
current_window.active = false;
|
||||
|
||||
if (current_window != null) {
|
||||
current_window.active = false;
|
||||
}
|
||||
} else {
|
||||
current_window = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user