~linaro-maintainers/compiz-plugins-main/overlay-gl

« back to all changes in this revision

Viewing changes to debian/patches/fix-868392.patch

  • Committer: Sam Spilsbury
  • Date: 2011-10-07 16:09:42 UTC
  • Revision ID: sam.spilsbury@canonical.com-20111007160942-9zkw97vowa95galq
Added some new patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=== modified file 'src/snap.cpp'
 
2
Index: compiz-plugins-main-0.9.6/snap/src/snap.cpp
 
3
===================================================================
 
4
--- compiz-plugins-main-0.9.6.orig/snap/src/snap.cpp    2011-10-08 00:07:30.750398687 +0800
 
5
+++ compiz-plugins-main-0.9.6/snap/src/snap.cpp 2011-10-08 00:07:49.882493524 +0800
 
6
@@ -396,7 +396,7 @@
 
7
        // Update snapping data
 
8
        if (ss->optionGetSnapTypeMask () & SnapTypeEdgeResistanceMask)
 
9
        {
 
10
-           snapGeometry = window->serverGeometry ();
 
11
+           snapGeometry = window->geometry ();
 
12
            this->snapDirection |= snapDirection;
 
13
        }
 
14
        // Attract the window if needed, moving it of the correct dist