public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
To: guile-gtk@sources.redhat.com
Subject: Re: gdk-window-get-events returns all-events-mask
Date: Sun, 16 Mar 2003 21:57:00 -0000	[thread overview]
Message-ID: <877kazgeke.fsf@zip.com.au> (raw)
In-Reply-To: <m0u1e3d7ab.fsf@hobitin.ucw.cz> (Daniel Skarda's message of "Sun, 16 Mar 2003 09:50:36 +0100")

Daniel Skarda <0rfelyus@ucw.cz> writes:
>
>    if ((val & info->literals[i].value) == info->literals [i].value)

That should do the trick in practice, though I still think
all-events-mask shouldn't be returned at all.

>   Fortunately it is not necessary (after the bugfix). all-events-mask == 0xffff
> and the last event substructure-mask == 1 << 20, so equality in above "if" is
> not going to be problem anymore.

Actually, the absense of any event equal to "1 << 0" will ensure it
doesn't occurs.  But I think this is merely a bug in gtk,
GDK_ALL_EVENTS_MASK in gtk 2.2.1 has been corrected to 0x3FFFE
(there's a new 1<<21 bit added).

      reply	other threads:[~2003-03-16 21:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-03 23:07 Kevin Ryde
2003-03-16  9:07 ` Daniel Skarda
2003-03-16 21:57   ` Kevin Ryde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877kazgeke.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-gtk@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).