Merge lp:~compiz-team/compiz-snap-plugin/compiz-snap-plugin.fix_862261 into lp:compiz-snap-plugin

Proposed by Sam Spilsbury on 2011-09-29
Status: Merged
Approved by: Neil J. Patel on 2011-09-29
Approved revision: 58
Merged at revision: 58
Proposed branch: lp:~compiz-team/compiz-snap-plugin/compiz-snap-plugin.fix_862261
Merge into: lp:compiz-snap-plugin
Diff against target: 17 lines (+7/-0)
1 file modified
src/snap.cpp (+7/-0)
To merge this branch: bzr merge lp:~compiz-team/compiz-snap-plugin/compiz-snap-plugin.fix_862261
Reviewer Review Type Date Requested Status
Neil J. Patel (community) 2011-09-29 Approve on 2011-09-29
Review via email: mp+77503@code.launchpad.net

Description of the change

Fix LP Bug 862261

To post a comment you must log in.
Neil J. Patel (njpatel) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/snap.cpp'
2--- src/snap.cpp 2011-09-29 08:12:59 +0000
3+++ src/snap.cpp 2011-09-29 11:21:18 +0000
4@@ -681,6 +681,13 @@
5 return;
6 }
7
8+ // don't snap maximized windows
9+ if (window->state () & CompWindowStateMaximizedHorzMask)
10+ dx = 0;
11+
12+ if (window->state () & CompWindowStateMaximizedVertMask)
13+ dy = 0;
14+
15 // avoiding snap, nothing buffered
16 if (!ss->snapping)
17 return;

Subscribers

People subscribed via source and target branches

to all changes: