lp://staging/~smspillaz/compiz-core/compiz-core.fix_939228
- Get this branch:
- bzr branch lp://staging/~smspillaz/compiz-core/compiz-core.fix_939228
Branch merges
- Daniel van Vugt: Needs Resubmitting
- Alan Griffiths: Pending requested
-
Diff: 294 lines (+221/-14)3 files modifiedsrc/privatescreen.h (+30/-4)
src/privatescreen/tests/test-privatescreen.cpp (+166/-0)
src/screen.cpp (+25/-10)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3111. By Sam Spilsbury
-
Don't return a negative value for CompScreen:
:viewportForGeo metry Fix LP#939288 - If a window was partially on a viewport which was the last
one in its row or column, and we were on the viewport on the opposite side
of that row or column, compiz would work backwards to find the position
of the window (which would be negative) and return a negative viewport
position. This caused plugins like wall to behave strangely - 3110. By Sam Spilsbury
-
Always use the asynchronous codepaths in core.
(LP: #862430) (LP: #892012) (LP: #923683) (LP: #932520)* CompWindow::move is now just a wrapper around CompWindow:
:configureXWind ow
* CompWindow::configureXWind ow will always call through to moveNotify
* moveNotify and resizeNotify are only ever called pre-request in the case of
managed windows (SubstructureRedirectMask guaruntees they will end up in
the right place) and post ConfigureNotify for override redirect windows
* resizeNotify is always called post ConfigureNotify regardless of whether
or not the window is managed or not
* various const correctness where it made sense
* cleaned up the whole geometry.width () + geometry.border () * 2 nonsense
* removed priv->width and priv->height , which was just redundant data used
for window shading and honestly, is a ticking time bomb for future
maintainers.
* CompWindow::syncPosition is now deprecated and a no-op
* Removed the majority of PrivateWindow::updateFrameWin dow - this function
had a lot of redundant code which PrivateWindow::reconfigureXWi ndow had
anyways - the big work there was to send synthetic ConfigureNotify events
to ourselves to notify windows moving within frame windows that don't move
themselves. Its safer to use reconfigureXWindow in this case and probably
more sane too. We should look into removing the other update* functions. - 3109. By Ćukasz Zemczak
-
Reverting the introduction of bindTexture - we don't need it, since the fix
is actually a ONE LINER! Thanks Sam! (LP: #770283) - 3108. By Daniel van Vugt
-
Tidy up PrivateScreen construction and destruction:
- Remove a local masking a member variable.
- Add members missing from the constructor's initialization list.
- Free more resources, more clearly, in the destructor. - 3107. By Alan Griffiths
-
Remove some pointless exception throwing and catching from the normal execution path.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/compiz-core/0.9.8