~ps-jenkins/compiz/latestsnapshot-10.9.9daily13.06.1913.04-0ubuntu1

« back to all changes in this revision

Viewing changes to src/privatewindow.h

  • Committer: Sam Spilsbury
  • Date: 2013-03-06 12:31:24 UTC
  • mto: (3630.2.2 compiz.fix_1138517)
  • mto: This revision was merged to the branch mainline in revision 3633.
  • Revision ID: sam.spilsbury@canonical.com-20130306123124-82uf5tm171c67mch
Don't set lastFrameExtents unless the window geometry actually changed - as
that variable only exists to track changes in the actual geometry of
the window and not the apparant frame extents.
  
Added tests to verify that behaviour.
  
(LP: #1138517)

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
 
156
156
        void recalcNormalHints ();
157
157
 
158
 
        void updateFrameWindow ();
 
158
        bool updateFrameWindow ();
159
159
 
160
160
        void setWindowMatrix ();
161
161
 
302
302
                                                       int            gravity,
303
303
                                                       int            direction);
304
304
 
305
 
        void updateSize ();
 
305
        bool updateSize ();
306
306
 
307
307
        bool getUserTime (Time& time);
308
308
        void setUserTime (Time time);