mirror of
https://github.com/elementary/gala.git
synced 2024-10-05 19:27:25 +03:00
Fixed segfault when alttabbing on empty workspace
This commit is contained in:
parent
ccdfa1743d
commit
f73d4b8657
@ -59,6 +59,9 @@ namespace Gala {
|
||||
|
||||
public void window_switcher (Meta.Display display, Meta.Screen screen,
|
||||
Meta.KeyBinding binding, bool backward) {
|
||||
if (screen.get_display ().get_tab_list (Meta.TabList.NORMAL, screen,
|
||||
screen.get_active_workspace ()).length () == 0)
|
||||
return;
|
||||
|
||||
this.begin_modal ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user