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:
parent
ee54fa7898
commit
75d39f6a8e
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ public:
|
|||
|
||||
bool emulateTabletEvent(TabletEvent *event)
|
||||
{
|
||||
if (!workspace() || !waylandServer()->seat()->hasPointer()) {
|
||||
if (!workspace()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue