tablet: Check if client is supported before sending tool button
BUG: 438010
This commit is contained in:
parent
ced2990c8a
commit
242de43737
1 changed files with 3 additions and 0 deletions
|
@ -1859,6 +1859,9 @@ public:
|
|||
if (!tool) {
|
||||
tool = createTool(tabletToolId);
|
||||
}
|
||||
if (!tool->isClientSupported()) {
|
||||
return false;
|
||||
}
|
||||
tool->sendButton(button, pressed);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue