Commit 71d3df7c authored by Jeremy Huddleston's avatar Jeremy Huddleston

XQuartz: Avoid some warning messages being spewed to system.log by AppKit

(cherry picked from commit 780eff23)
parent a9796c7b
......@@ -964,7 +964,9 @@ extern int darwin_modifier_flags; // darwinEvents.c
pDev = darwinPointer;
if([e subtype] == NSTabletProximityEventSubtype) {
/* NSTabletPoint can have no subtype */
if([e type] != NSTabletPoint &&
[e subtype] == NSTabletProximityEventSubtype) {
switch([e pointingDeviceType]) {
case NSEraserPointingDevice:
Markdown is supported
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