Commit 75d39f6a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Revert "wayland: Emulate tablet events only if there is pointer"

This reverts commit ee54fa78.

Unfortunately, this is not a totally correct fix. If there's no pointer,
we need to announce the wl_pointer capability anyway so clients that do
not support tablet input devices can still receive emulated pointer
events.
parent ee54fa78
......@@ -1776,7 +1776,7 @@ public:
bool emulateTabletEvent(TabletEvent *event)
{
if (!workspace() || !waylandServer()->seat()->hasPointer()) {
if (!workspace()) {
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment