Bug 71082 - exevents.c:1480: possible bad if test ?
Summary: exevents.c:1480: possible bad if test ?
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 10:03 UTC by dcb314
Modified: 2013-10-31 15:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description dcb314 2013-10-31 10:03:24 UTC
offending source code is

        if (ti->listeners[0].type != LISTENER_POINTER_REGULAR ||
            ti->listeners[0].type != LISTENER_POINTER_GRAB)
            return;

Suggest swap || for &&


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.