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
=== modified file 'src/Widgets/WindowOverview.vala'
--- src/Widgets/WindowOverview.vala 2015-03-12 05:16:50 +0000
+++ src/Widgets/WindowOverview.vala 2017-02-19 03:55:46 +0000
@@ -264,12 +264,8 @@
264 window.activate (screen.get_display ().get_current_time ());264 window.activate (screen.get_display ().get_current_time ());
265 close ();265 close ();
266 } else {266 } else {
267 window.get_workspace ().activate_with_focus (window, screen.get_display ().get_current_time ());
267 close ();268 close ();
268 //wait for the animation to finish before switching
269 Timeout.add (400, () => {
270 window.get_workspace ().activate_with_focus (window, screen.get_display ().get_current_time ());
271 return false;
272 });
273 }269 }
274 }270 }
275271

Subscribers

People subscribed via source and target branches