rees at umich.edu
Tue Nov 15 23:55:01 EST 2011
I'm trying to use xfishtank with openbox and my desktop button events (for
bringing up menus) are getting lost. Xfishtank creates a window the size of
the desktop and keeps it lowered, below all other windows. Fish swim around
in this window. Button presses in the xfishtank window arrive fine, get
ignored, and propagate up to the root (or virtual root) window, but openbox
ignores them. A quick look at the source suggests that openbox only handles
button presses directed at the virtual root window, not ones that arrived on
some other window and propagated up.
I tried changing the event window and re-sending with XSendEvent but that
didn't work. Also changing my mouse button context from Root to Desktop.
I can get it to work by drawing the fish directly in the virtual root window
instead of creating a new window, but this is less than optimal.
Is there a "correct" way to make this work, or is xfishtank just too old and
More information about the openbox