lp:~alan-griffiths/miral/fix-1631958
- Get this branch:
- bzr branch lp:~alan-griffiths/miral/fix-1631958
Branch merges
- Gerry Boland (community): Approve
-
Diff: 106 lines (+44/-5)3 files modifiedmiral/basic_window_manager.cpp (+6/-4)
test/select_active_window.cpp (+24/-0)
test/test_window_manager_tools.h (+14/-1)
Branch information
Recent revisions
- 397. By Gerry Boland
-
[miral-qt] Use WMP::window_ready as indication client has drawn its first frame, and check visible state on surface ready.
Fixes issue where MirSurface::visible was incorrect on surface creation. This was due to race between MirSurface being created and miral::
WindowInfo: :is_visible being called, and the client swapping a frame. If client swapped a frame, and surface type non-hidden & non-minimized, is_visible will return true. But for same state, if no frame swapped, is_visible will return false.
So ensure we call is_visible when the surface is marked ready by MirAL.
This also replaces the term "firstFramePosted" with "ready" - we let MirAL keep track of what makes a surface "ready"
- 395. By Daniel d'Andrada
-
[miral-qt] Remove dead code: MirSurface:
:updateWindowIn fo Not called anywhere
- 394. By Alan Griffiths
-
A convenient overload of WindowManagerTo
ols::modify_ window( ) that doesn't require the WindowInfo
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:miral