mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 21:10:09 +01:00
XQuartz: Avoid some warning messages being spewed to system.log by AppKit
(cherry picked from commit 780eff230c)
This commit is contained in:
parent
a9796c7bc4
commit
71d3df7cc3
1 changed files with 3 additions and 1 deletions
|
|
@ -964,7 +964,9 @@ extern int darwin_modifier_flags; // darwinEvents.c
|
|||
handle_mouse:
|
||||
pDev = darwinPointer;
|
||||
|
||||
if([e subtype] == NSTabletProximityEventSubtype) {
|
||||
/* NSTabletPoint can have no subtype */
|
||||
if([e type] != NSTabletPoint &&
|
||||
[e subtype] == NSTabletProximityEventSubtype) {
|
||||
switch([e pointingDeviceType]) {
|
||||
case NSEraserPointingDevice:
|
||||
darwinTabletCurrent=darwinTabletEraser;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue