Merge lp:~stolowski/unity-2d/check-xlistinputdevices-ptr into lp:unity-2d
Proposed by
Paweł Stołowski
Status: | Merged |
---|---|
Approved by: | Albert Astals Cid |
Approved revision: | 1056 |
Merged at revision: | 1055 |
Proposed branch: | lp:~stolowski/unity-2d/check-xlistinputdevices-ptr |
Merge into: | lp:unity-2d |
Diff against target: |
54 lines (+20/-18) 1 file modified
libunity-2d-private/src/keymonitor.cpp (+20/-18) |
To merge this branch: | bzr merge lp:~stolowski/unity-2d/check-xlistinputdevices-ptr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Albert Astals Cid (community) | Approve | ||
Review via email: mp+101403@code.launchpad.net |
Commit message
Check list pointer returned by XListInputDevices, as it may be null in VNC session, while XListInputDevices indicates positive number of devices. This would crash unity-2d-shell.
Description of the change
Check list pointer returned by XListInputDevices, as it may be null in VNC session, while XListInputDevices indicates positive number of devices. This would crash unity-2d-shell.
UNBLOCK
To post a comment you must log in.
Makes sense