Merge lp:~smspillaz/compiz-core/compiz-core.fix_936778 into lp:compiz-core

Proposed by Sam Spilsbury
Status: Merged
Approved by: Alan Griffiths
Approved revision: 3010
Merged at revision: 3012
Proposed branch: lp:~smspillaz/compiz-core/compiz-core.fix_936778
Merge into: lp:compiz-core
Diff against target: 13 lines (+3/-0)
1 file modified
gtk/window-decorator/events.c (+3/-0)
To merge this branch: bzr merge lp:~smspillaz/compiz-core/compiz-core.fix_936778
Reviewer Review Type Date Requested Status
Alan Griffiths Approve
Daniel van Vugt Approve
Review via email: mp+93775@code.launchpad.net

Description of the change

Also update state, actions and icon whenever the window becomes redecorated
as those may have changed while the window was undecorated

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can't reproduce the bug. But testing this branch shows no problems either.

review: Approve
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I'll have to set up an old box to test some of these "quickly" related issues. But the code looks plausible and doesn't appear to break things.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gtk/window-decorator/events.c'
2--- gtk/window-decorator/events.c 2012-02-10 10:23:27 +0000
3+++ gtk/window-decorator/events.c 2012-02-20 08:08:42 +0000
4@@ -1011,6 +1011,9 @@
5
6 d->frame = gwd_get_decor_frame (get_frame_type (win));
7
8+ update_window_decoration_state (win);
9+ update_window_decoration_actions (win);
10+ update_window_decoration_icon (win);
11 update_window_decoration_size (win);
12 update_event_windows (win);
13 }

Subscribers

People subscribed via source and target branches