xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #718, comment 5


Ignore:
Timestamp:
09/13/18 15:02:20 (3 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #718, comment 5

    initial v1  
    77So we should be able to select for those events on the window.. except I can't seem to receive them!?
    88The window in the request data is the "client window" as found in our window model, that's the application's own window.
    9 According to the docs [http://tronche.com/gui/x/xlib/events/structure-control/configure.html ConfigureRequest Events]: ''To receive ConfigureRequest events, set the SubstructureRedirectMask bit in the event-mask attribute of the window. ConfigureRequest events are generated when a ConfigureWindow protocol request is issued on a child window by another client. For example, suppose a client application calls XLowerWindow() to lower a window. If you had selected SubstructureRedirectMask on the parent window and if the override-redirect attribute of the window is set to False, the X server reports a ConfigureRequest event to you and does not lower the specified window.''
     9According to the docs [http://tronche.com/gui/x/xlib/events/structure-control/configure.html ConfigureRequest Events]: ''To receive !ConfigureRequest events, set the !SubstructureRedirectMask bit in the event-mask attribute of the window. !ConfigureRequest events are generated when a !ConfigureWindow protocol request is issued on a child window by another client. For example, suppose a client application calls XLowerWindow() to lower a window. If you had selected !SubstructureRedirectMask on the parent window and if the override-redirect attribute of the window is set to False, the X server reports a !ConfigureRequest event to you and does not lower the specified window.''
    1010
    1111We do already select those events using {{{X11Window.substructureRedirect}}}, this is how we already intercept client applications that resize themselves, but I am not seeing the stack-raise event in the X11 filter! Why!?