mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
Close multitasking view if workspace is selected (#795)
This commit is contained in:
parent
c536d41cea
commit
a9c18bbd65
@ -182,19 +182,7 @@ namespace Gala {
|
||||
#endif
|
||||
|
||||
icon_group = new IconGroup (workspace);
|
||||
icon_group.selected.connect (() => {
|
||||
#if HAS_MUTTER330
|
||||
if (workspace == display.get_workspace_manager ().get_active_workspace ())
|
||||
Utils.bell (display);
|
||||
else
|
||||
selected (false);
|
||||
#else
|
||||
if (workspace == screen.get_active_workspace ())
|
||||
Utils.bell (screen);
|
||||
else
|
||||
selected (false);
|
||||
#endif
|
||||
});
|
||||
icon_group.selected.connect (() => selected (true));
|
||||
|
||||
var icons_drop_action = new DragDropAction (DragDropActionType.DESTINATION, "multitaskingview-window");
|
||||
icon_group.add_action (icons_drop_action);
|
||||
|
Loading…
Reference in New Issue
Block a user