Merge lp:~vanvugt/compiz/fix-1084401 into lp:compiz/0.9.9
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Sam Spilsbury |
Approved revision: | 3490 |
Merged at revision: | 3497 |
Proposed branch: | lp:~vanvugt/compiz/fix-1084401 |
Merge into: | lp:compiz/0.9.9 |
Diff against target: |
105 lines (+34/-9) 4 files modified
plugins/opengl/src/fsregion/fsregion.cpp (+17/-5) plugins/opengl/src/fsregion/fsregion.h (+3/-1) plugins/opengl/src/fsregion/tests/test-fsregion.cpp (+13/-2) plugins/opengl/src/paint.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~vanvugt/compiz/fix-1084401 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+136901@code.launchpad.net |
Commit message
Fixed: unredirected fullscreen windows sliding offscreen were staying
unredirected (always visible), because compiz thought they were fullscreen
on a different monitor. Add extra smarts to tell the difference between
fullscreen and offscreen. (LP: #1084401)
To post a comment you must log in.
This looks correct, a few questions:
+FullscreenRegi on::FullscreenR egion (const CompRect &output) :
+ untouched (output),
+ orig (output),
+ allOutputs (output)
+{
+}
+
Is that necessary? It seems like FullscreenRegion cares about the current monitor and all monitors, having this constructor might be misleading
75 + CompRect offscreen1 (2048, 0, 1024, 768);
76 + CompRect offscreen2 (-1024, 0, 1024, 768);
...
88 + EXPECT_TRUE (monitor. allowRedirectio n (offscreen1)); allowRedirectio n (offscreen2));
89 + EXPECT_TRUE (monitor.
There's not a whole lot of dependency here - can it be moved into a separate test?