lp:~vanvugt/compiz/fix-1054257

Created by Daniel van Vugt and last modified
Get this branch:
bzr branch lp:~vanvugt/compiz/fix-1054257
Only Daniel van Vugt can upload to this branch. If you are Daniel van Vugt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel van Vugt
Project:
Compiz
Status:
Merged

Recent revisions

3386. By Daniel van Vugt

Avoid passing an uninitialized context into glXDestroyContext, which can
cause crashes. (LP: #1054724)

For fglrx users, this seems to happen after:
  glXQueryExtensionsString is NULL for screen %d (LP: #1054257)
But still, we shouldn't crash.

3385. By Sam Spilsbury

Fix build on python 2.6. Use the old method of detecting the version.
(LP: #1048964). Fixes: https://bugs.launchpad.net/bugs/1048964. Approved by Daniel van Vugt, jenkins.

3384. By Daniel van Vugt

Don't accidentally unredirect a maximized window that's not a fullscreen
window. This could happen when other windows (docks) perfectly covered the
non-maximized region, like the Unity launcher and panel do.
(LP: #1053902)
. Fixes: https://bugs.launchpad.net/bugs/1053902. Approved by Sam Spilsbury, jenkins.

3383. By Daniel van Vugt

Ensure unredirected windows get redirected if windows are being transformed,
like in scale mode.
(LP: #1047168)
. Fixes: https://bugs.launchpad.net/bugs/1047168. Approved by Sam Spilsbury.

3382. By Sam Spilsbury

This adds a system testing framework based on Xorg-GTest (launchpad.net/xorg-gtest). It will find an existing installation of xorg-gtest and compile it locally (similar to Google Test) and provides a class XorgSystemTest in the namespace compiz::testing, which will spawn compiz inside of a dummy X Sever. You can then test by interacting with the server and querying its state.

XEventMatcher is a very basic concept for matching X events as they come in. Right now, the events have to be matched in order, but its feasible that in future we could have out of order matching like we do in Google Mock. Some utility functions added on top of xorg-gtest were WaitForEventOfTypeOnWindow, which works just like the former function by checks if it matches a window or satisfies some arbitrary criteria in the case of WaitForEventOfTypeOnWindowMatching.. Fixes: . Approved by Daniel van Vugt, jenkins.

3381. By Daniel van Vugt

Changes to the composite output window's shape seem to take a full frame to be
realized by GLX/the server. This results in a single frame of flicker when an
unredirected window gets redirected, but the shape change is still not
realized.

To work around this flicker, just skip the one frame where it's going to
occur so you never see it.
(LP: #1046664)
. Fixes: https://bugs.launchpad.net/bugs/1046664. Approved by Sam Spilsbury, jenkins.

3380. By Didier Roche-Tolomelli

fix missing ABI bump

3379. By Sam Spilsbury

Fix FTBFS with BUILD_GLES. Fixes: https://bugs.launchpad.net/bugs/1052838. Approved by Daniel van Vugt, jenkins.

3378. By Sam Spilsbury

Check the pending frame of the window when looking to see if it is a "toplevel" window. There was a case where calling updateAttributes on a just-reparented window which hadn't yet got the ReparentNotify event for its frame window would cause subsequent calls to reconfigureXWindow which want to restack relative to it to fail because that frame window wasn't marked as "existing" yet, so we would detect that case as restacking relative to an invalid window and prevent the restack request.. Fixes: https://bugs.launchpad.net/bugs/1052773. Approved by Daniel van Vugt, Brandon Schaefer, jenkins.

3377. By Daniel van Vugt

Fix flickering and performance problems with using Unredirect Fullscreen
Windows with multiple monitors.
(LP: #1050749) (LP: #1051885)

Written by smspillaz. Simplified by vanvugt.. Fixes: https://bugs.launchpad.net/bugs/1050749, https://bugs.launchpad.net/bugs/1051885. Approved by Sam Spilsbury, Daniel van Vugt.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.8
This branch contains Public information 
Everyone can see this information.

Subscribers