panel: Switch workspaces when scrolling over activities
The activities button now shows workspace indicators instead of a label. Adding the ability to switch workspaces without entering the overview seems like a logical extension. Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6928 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2933>
This commit is contained in:
parent
b3ce7be8f3
commit
c7208df8b3
@ -460,7 +460,7 @@ class ActivitiesButton extends PanelMenu.Button {
|
|||||||
Main.overview.toggle();
|
Main.overview.toggle();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Clutter.EVENT_PROPAGATE;
|
return Main.wm.handleWorkspaceScroll(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
vfunc_key_release_event(event) {
|
vfunc_key_release_event(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user