Merge lp:~winglot/gala/fix-1213460 into lp:gala

Proposed by Cody Garver
Status: Merged
Approved by: Tom Beckmann
Approved revision: 352
Merged at revision: 353
Proposed branch: lp:~winglot/gala/fix-1213460
Merge into: lp:gala
Diff against target: 21 lines (+3/-2)
1 file modified
src/Widgets/WindowSwitcher.vala (+3/-2)
To merge this branch: bzr merge lp:~winglot/gala/fix-1213460
Reviewer Review Type Date Requested Status
Tom Beckmann Approve
Review via email: mp+180752@code.launchpad.net

Commit message

windowswitcher: hide minimized windows again after alt-tabbing

To post a comment you must log in.
Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

This creates a new issue when choosing a minimized window from overview.

It both shows the uniminimize animation and the zoom from the overview closing.

Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

Disregard my last comment. It happens with gala trunk, too. Separate issue.

Revision history for this message
Wojciech Inglot (winglot) wrote :

I have received an email from Rico Tzschichholz: "Review: Disapprove". Is it possible to know what is wrong with this code so I could fix it?

Revision history for this message
Cody Garver (codygarver) wrote :

His disapprove was probably because you proposed merging lp:gala into this branch. Instead you should have proposed merging this branch into lp:gala.

The merge proposal I'm commenting on right now is the correct one.

You don't have to take any further action.

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Great work, Thanks for the fix!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/WindowSwitcher.vala'
2--- src/Widgets/WindowSwitcher.vala 2013-08-04 22:35:22 +0000
3+++ src/Widgets/WindowSwitcher.vala 2013-08-18 23:20:11 +0000
4@@ -155,7 +155,8 @@
5
6 //reset order
7 clone.get_parent ().set_child_below_sibling (clone, null);
8- clone.animate (AnimationMode.EASE_OUT_CUBIC, 150, depth : 0.0f, opacity : 255);
9+ if (!(clone.source as Meta.WindowActor).get_meta_window ().minimized)
10+ clone.animate (AnimationMode.EASE_OUT_CUBIC, 150, depth : 0.0f, opacity : 255);
11 }
12
13 if (current_window != null) {
14@@ -184,7 +185,7 @@
15 if (window_actors == null)
16 return;
17 foreach (var window in window_actors) {
18- if (window.get_workspace () == workspace.index ())
19+ if (window.get_workspace () == workspace.index () && !window.get_meta_window ().minimized)
20 window.show ();
21 }
22

Subscribers

People subscribed via source and target branches