Merge lp:~davidgomes/unity/fix-for--823353 into lp:unity

Proposed by David Gomes
Status: Merged
Merge reported by: Neil J. Patel
Merged at revision: not available
Proposed branch: lp:~davidgomes/unity/fix-for--823353
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
plugins/unityshell/src/WindowButtons.cpp (+1/-1)
To merge this branch: bzr merge lp:~davidgomes/unity/fix-for--823353
Reviewer Review Type Date Requested Status
Neil J. Patel (community) Approve
Review via email: mp+70917@code.launchpad.net

Description of the change

I can't test this, but I'm pretty sure I fixed the bug #823353.

This because when the mouse is inside and being pressed inside one of the windows buttons, the icon of the button doesn't change to "Pressed".

To post a comment you must log in.
Revision history for this message
Neil J. Patel (njpatel) wrote :

You have indeed! Thank you!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'plugins/unityshell/src/WindowButtons.cpp'
--- plugins/unityshell/src/WindowButtons.cpp 2011-08-08 20:19:16 +0000
+++ plugins/unityshell/src/WindowButtons.cpp 2011-08-09 16:28:26 +0000
@@ -61,7 +61,7 @@
6161
62 GfxContext.PushClippingRectangle(geo);62 GfxContext.PushClippingRectangle(geo);
6363
64 if (HasMouseFocus())64 if (HasMouseFocus() && IsMouseInside())
65 {65 {
66 tex = _pressed_tex;66 tex = _pressed_tex;
67 }67 }