Commit 780eff23 authored by Jeremy Huddleston's avatar Jeremy Huddleston

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

parent cbae2b44
......@@ -963,7 +963,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;
......
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