Merge lp:~3v1n0/unity/xi2-input-monitor into lp:unity
Proposed by
Marco Trevisan (Treviño)
on 2016-08-17
| Status: | Merged |
|---|---|
| Approved by: | Andrea Azzarone on 2016-08-22 |
| Approved revision: | 3808 |
| Merged at revision: | 4182 |
| Proposed branch: | lp:~3v1n0/unity/xi2-input-monitor |
| Merge into: | lp:unity |
| Diff against target: |
610 lines (+494/-2) 11 files modified
launcher/EdgeBarrierController.cpp (+1/-1) launcher/EdgeBarrierControllerPrivate.h (+1/-1) plugins/unityshell/src/unityshell.h (+2/-0) unity-shared/CMakeLists.txt (+1/-0) unity-shared/InputMonitor.cpp (+386/-0) unity-shared/InputMonitor.h (+91/-0) unity-shared/StandaloneWindowManager.cpp (+3/-0) unity-shared/StandaloneWindowManager.h (+1/-0) unity-shared/WindowManager.h (+1/-0) unity-shared/XWindowManager.cpp (+6/-0) unity-shared/XWindowManager.h (+1/-0) |
| To merge this branch: | bzr merge lp:~3v1n0/unity/xi2-input-monitor |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Andrea Azzarone | 2016-08-17 | Approve on 2016-08-22 | |
|
Review via email:
|
|||
Commit Message
InputMonitor: add an unity class that monitors XInput2 events and converts them to XEvent
Clients of this class can register event handlers, and when an interested event will hit
our event filter function (that is set only if we have handlers), then we notify them
with a standard XEvent struct, converted from the XIDeviceEvent cookie.
The nice thing of this monitor is that it always reports events, despite the X grabs.
To post a comment you must log in.
lp:~3v1n0/unity/xi2-input-monitor
updated
on 2016-08-17
- 3807. By Marco Trevisan (Treviño) on 2016-08-17
-
InputMonitor: add some debugging bits
lp:~3v1n0/unity/xi2-input-monitor
updated
on 2016-08-22
- 3808. By Marco Trevisan (Treviño) on 2016-08-22
-
InputMonitor: remove unneded (until we don't add another implementation) virtual dtor
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
Done thanks...
I think I added that thinking of future abstractions, but this won't be the case.


Nice! I think the class Monitor has no need to have a virtual dtor. So please make it non-virtual.