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 #1980, comment 1


Ignore:
Timestamp:
10/06/18 05:13:07 (3 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1980, comment 1

    initial v1  
    77
    88Ideally, this would be fixed server side by causing the grab to be broken and making Java notice it. I've tried using {{{xdotool key XF86Ungrab}}} but this didn't help.
    9 Looking at [https://tronche.com/gui/x/xlib/input/XUngrabPointer.html XUngrabPointer]: ''The X server performs an UngrabPointer request automatically if the event window or confine_to window for an active pointer grab becomes not viewable or if window reconfiguration causes the confine_to window to lie completely outside the boundaries of the root window'' -  we can't "randomly" make windows hidden and hope that's going to help either. (we don't even know when they expect to hold a grab..)
     9Looking at [https://tronche.com/gui/x/xlib/input/XUngrabPointer.html XUngrabPointer]: ''The X server performs an !UngrabPointer request automatically if the event window or confine_to window for an active pointer grab becomes not viewable or if window reconfiguration causes the confine_to window to lie completely outside the boundaries of the root window'' -  we can't "randomly" make windows hidden and hope that's going to help either. (we don't even know when they expect to hold a grab..)
    1010
    1111The Java source around grabs reads: ''We should always grab both keyboard and pointer to control event flow on popups. This also simplifies synthetic grab implementation. The active grab overrides activated automatic grab''.