Merge lp:~kjtehprogrammer/gala/fix-1084735 into lp:gala

Proposed by KJ Lawrence
Status: Needs review
Proposed branch: lp:~kjtehprogrammer/gala/fix-1084735
Merge into: lp:gala
Diff against target: 16 lines (+1/-5)
1 file modified
src/Widgets/WindowOverview.vala (+1/-5)
To merge this branch: bzr merge lp:~kjtehprogrammer/gala/fix-1084735
Reviewer Review Type Date Requested Status
Gala developers Pending
Review via email: mp+317720@code.launchpad.net

Description of the change

Activate the new workspace immediately, then close the overview

To post a comment you must log in.

Unmerged revisions

563. By KJ Lawrence

Go straight to new workspace after selecting window instead of closing overview then switching to new workspace

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/WindowOverview.vala'
2--- src/Widgets/WindowOverview.vala 2015-03-12 05:16:50 +0000
3+++ src/Widgets/WindowOverview.vala 2017-02-19 03:55:46 +0000
4@@ -264,12 +264,8 @@
5 window.activate (screen.get_display ().get_current_time ());
6 close ();
7 } else {
8+ window.get_workspace ().activate_with_focus (window, screen.get_display ().get_current_time ());
9 close ();
10- //wait for the animation to finish before switching
11- Timeout.add (400, () => {
12- window.get_workspace ().activate_with_focus (window, screen.get_display ().get_current_time ());
13- return false;
14- });
15 }
16 }
17

Subscribers

People subscribed via source and target branches