[Differential] [Request, 99 lines] D3488: [platforms/wayland] Use a ConfinedPointer if available
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Thu Nov 24 13:00:11 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
This supports "grabbing" the pointer on right ctrl key just like on X11.
If the Wayland server supports pointer constraints protocol, the nested
Wayland compositor creates a confined pointer if the right ctrl key is
pressed.
On another right ctrl press the (active) constraint gets removed again.
To indicate the current state the window title gets updated. This also
implements window title support for the first time.
This change implement https://phabricator.kde.org/T4604.
TEST PLAN
Tested with a modified KWin with server-side pointer constraints support
REPOSITORY
rKWIN KWin
BRANCH
wayland-platform-confined-pointer
REVISION DETAIL
https://phabricator.kde.org/D3488
AFFECTED FILES
plugins/platforms/wayland/wayland_backend.cpp
plugins/platforms/wayland/wayland_backend.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161124/ae41590e/attachment.html>
More information about the Plasma-devel
mailing list