mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 10:13:04 +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