wayland: Emulate tablet events only if there is pointer
If the seat has no pointer, there is no point for emulating tablet events.
This commit is contained in:
parent
7b68644974
commit
ee54fa7898
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ public:
|
|||
|
||||
bool emulateTabletEvent(TabletEvent *event)
|
||||
{
|
||||
if (!workspace()) {
|
||||
if (!workspace() || !waylandServer()->seat()->hasPointer()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue