Commit ee54fa78 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Emulate tablet events only if there is pointer

If the seat has no pointer, there is no point for emulating tablet
parent 7b686449
......@@ -1776,7 +1776,7 @@ public:
bool emulateTabletEvent(TabletEvent *event)
if (!workspace()) {
if (!workspace() || !waylandServer()->seat()->hasPointer()) {
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