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

This reverts commit ee54fa7898.

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.
This commit is contained in:
Vlad Zahorodnii 2021-03-12 14:13:20 +02:00
parent ee54fa7898
commit 75d39f6a8e

View file

@ -1776,7 +1776,7 @@ public:
bool emulateTabletEvent(TabletEvent *event)
{
if (!workspace() || !waylandServer()->seat()->hasPointer()) {
if (!workspace()) {
return false;
}