~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to gdk/quartz/gdkevents-quartz.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
ImportĀ upstreamĀ versionĀ 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
498
498
        grab = _gdk_display_get_last_pointer_grab (display);
499
499
        if (grab)
500
500
          {
501
 
            if ((grab->event_mask & get_event_mask_from_ns_event (nsevent)) == 0)
 
501
            /* Implicit grabs do not go through XGrabPointer and thus the
 
502
             * event mask should not be checked.
 
503
             */
 
504
            if (!grab->implicit
 
505
                && (grab->event_mask & get_event_mask_from_ns_event (nsevent)) == 0)
502
506
              return NULL;
503
507
 
504
508
            if (grab->owner_events)