On Mon, Sep 26, 2016 at 12:13:00PM +0200 I heard the voice of
Rhialto, and lo! it spake thus:
>
> Releted, xwininfo -all includes
>
> Window manager hints:
> Client accepts input or input focus: No
>
> which also looks weird (and is probably related).
This is related to some of the odd models of X input focus we've
scrambled over before. Specifically, this stuff is coming from the
various properties, so look at xprop for the source:
WM_HINTS(WM_HINTS):
Client accepts input or input focus: False
which is where xwininfo is getting that, but we also have
WM_PROTOCOLS(ATOM): protocols WM_TAKE_FOCUS, WM_DELETE_WINDOW
So that gets us back into the weird 4-ple of states in ICCCM. So,
from
<https://www.x.org/releases/X11R7.7/doc/xorg-docs/icccm/icccm.html#Input_Focus>
we're in the "Globally Active" mode, with WM_HINTS input=false and
WM_TAKE_FOCUS present. I suspect that's related to the plumbing for
the focus proxy window.
One thing worth noting:
xwininfo: Window id: 0x7800022 "JabRef - untitled (BibTeX mode)"
Root window id: 0x49d (the root window) (has no name)
Parent window id: 0x2200fde "CTWM frame"
2 children:
0x7800037 "FocusProxy": ("Focus-Proxy-Window" "FocusProxy") 1x1+-1+-1
+202+199
0x7800034 "Content window": ("sun-awt-X11-XContentWindow"
"net-sf-jabref-JabRefMain") 1024x768+0+-23 +203+177
but if we look in the properties of any of 'em,
WM_CLIENT_LEADER(WINDOW): window id # 0x7800023
which suggests this is one of those Weird GTK Things that we added
workarounds for a while back. Which suggests that stuff is happening
via GTK, which is an apparent commonality with the other focus issues
we've seen with Firefox and Evince. Though, it seems like most of
those are going the other way, in the apps are holding on to focus too
hard, not failing to take it. But who knows; the idea of focus proxy
windows and such suggests they're screwing around with awful deep
magic to... whatever the heck they're trying to do.
--
Matthew Fuller (MF4839) | [email protected]
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.