Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f98a390
MultitaskingView: Allow workspace switch gesture to be interrupted
leolost2605 Dec 11, 2024
d1ced0d
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
lenemter Dec 12, 2024
e6af97a
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
lenemter Dec 19, 2024
da35598
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Dec 19, 2024
0debb33
Fix merge
leolost2605 Dec 19, 2024
530fdb3
Fix it
leolost2605 Dec 21, 2024
8d19cc1
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Jan 14, 2025
e82572d
Cleanup some logic
leolost2605 Jan 14, 2025
11b70fd
Fix something
leolost2605 Jan 14, 2025
6f682da
Take initial percentage as on_gesture_handled return
leolost2605 Jan 14, 2025
828d9f2
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Jan 19, 2025
5e0fcae
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Jan 24, 2025
009656f
Fix the math
leolost2605 Jan 25, 2025
ff0f94d
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Jan 25, 2025
7aa10b8
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
lenemter Jan 25, 2025
5d0f066
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
lenemter Jan 25, 2025
f569de0
Fix 100 percent cancel
leolost2605 Jan 25, 2025
737951a
Merge branch 'leolost/interruptible-workspace-switch-mtv' of github.c…
leolost2605 Jan 25, 2025
af1c2e4
Merge branch 'main' into leolost/interruptible-workspace-switch-mtv
leolost2605 Jan 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/Widgets/MultitaskingView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ namespace Gala {
private Drawing.StyleManager style_manager;

private bool switching_workspace_with_gesture = false;
private bool switching_workspace_in_progress {
get {
return switching_workspace_with_gesture || workspaces.get_transition ("x") != null;
}
}

public MultitaskingView (WindowManager wm) {
Object (wm: wm);
Expand Down Expand Up @@ -323,10 +318,6 @@ namespace Gala {
}

private void switch_workspace_with_gesture (Meta.MotionDirection direction) {
if (switching_workspace_in_progress) {
return;
}

unowned var manager = display.get_workspace_manager ();
var num_workspaces = manager.get_n_workspaces ();
var relative_dir = (direction == Meta.MotionDirection.LEFT) ? -1 : 1;
Expand Down
Loading