Merge lp://staging/~dandrader/frame/smarter_backend into lp://staging/frame
Proposed by
Daniel d'Andrada
Status: | Merged |
---|---|
Merged at revision: | 92 |
Proposed branch: | lp://staging/~dandrader/frame/smarter_backend |
Merge into: | lp://staging/frame |
Diff against target: |
691 lines (+301/-99) 10 files modified
include/oif/frame.h (+1/-0) include/oif/frame_backend.h (+49/-12) src/frame.cpp (+70/-11) src/frame.h (+4/-4) src/libframe.ver (+4/-3) src/touch.cpp (+75/-59) src/touch.h (+7/-2) src/window.h (+1/-1) src/x11/window_x11.cpp (+2/-2) test/regular/backend.cpp (+88/-5) |
To merge this branch: | bzr merge lp://staging/~dandrader/frame/smarter_backend |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chase Douglas (community) | Approve | ||
Review via email: mp+122092@code.staging.launchpad.net |
Description of the change
Add some helper functions to the backend API and lazy copy for touches.
The new functions are:
- frame_backend_
- frame_backend_
With those functions, backend implementors can more easily write efficient and error-free implementations.
To post a comment you must log in.
* The Window class no longer needs to subclass std::enable_ shared_ from_this< Window> .
* Any functions that may fail need to return a UFStatus and provide the return result through a referenced parameter. All of the new functions here should do this. I forgot about this when I approved the previous merge proposal as well. We should go back and fix these up.
* There's a stray newline at the end of UFFrame: :GetSharedTouch ById.
Everything else looks good :). This should really help backend implementations get things right the first time.