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

Proposed by Sam Spilsbury
Status: Merged
Approved by: Neil J. Patel
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) Approve
Review via email: mp+77503@code.launchpad.net

Description of the change

Fix LP Bug 862261

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/snap.cpp'
--- src/snap.cpp 2011-09-29 08:12:59 +0000
+++ src/snap.cpp 2011-09-29 11:21:18 +0000
@@ -681,6 +681,13 @@
681 return;681 return;
682 }682 }
683683
684 // don't snap maximized windows
685 if (window->state () & CompWindowStateMaximizedHorzMask)
686 dx = 0;
687
688 if (window->state () & CompWindowStateMaximizedVertMask)
689 dy = 0;
690
684 // avoiding snap, nothing buffered691 // avoiding snap, nothing buffered
685 if (!ss->snapping)692 if (!ss->snapping)
686 return;693 return;

Subscribers

People subscribed via source and target branches

to all changes: