~townsend/compiz/fix-1171878

Viewing all changes in revision 3833.

  • Committer: CI bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2014-03-03 20:09:35 UTC
  • mfrom: (3813.5.1 compiz)
  • Revision ID: ps-jenkins@lists.canonical.com-20140303200935-qsu1l4zqrfnlk1xo
Window: define proper cases when we need to resize a window when decorating/undecorating

Yeah, again here... So, now when setting the window extents, we resize a window only in these cases:
1) We have a normal window that has never been decorated (lp:1282304)
2) We're (re)decorating a maximized or fullscreen window (lp:1282305)

This seems to work well in all the cases I tested, with no regressions with nedit
(that highlighted an issue with old code path) Fixes: 1282304, 1282305

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: