[comp.windows.x] ButtonRelease

Kimbrough@dsg.csc.ti.COM (Kerry Kimbrough) (01/19/89)

Protocol question: when a button press occurs and no client can be found to
receive a ButtonPress, what is supposed to happen to the corresponding
ButtonRelease?

What happens with Xsun (R2 and R3) is that even when a client can be found for
the ButtonRelease (i.e. the release occurred when the pointer was in a window
which selected for ButtonRelease), no ButtonRelease event is ever sent. As soon
as this client selects for ButtonPress as well, then it gets both events as
expected. Is this correct server behavior?

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/19/89)

    Protocol question: when a button press occurs and no client can be found to
    receive a ButtonPress, what is supposed to happen to the corresponding
    ButtonRelease?

It should still be treated as a normal event.

    What happens with Xsun (R2 and R3) is that even when a client can be found
    for the ButtonRelease (i.e. the release occurred when the pointer was in a
    window which selected for ButtonRelease), no ButtonRelease event is ever
    sent.

I don't think so.  It works just fine for me.  Are you sure you aren't running
a window manager that's selection for button events on the root window?