On Fri, Feb 18, 2005 at 01:41:19PM -0800, Yang Yang wrote:
> hi there:
> is there a way to send an arbitrary X Event to a window?
Yes, one of the most useful and underrated utilities I know of, xse.
If you happen to use Gentoo Linux it's available via portage, otherwise
you will have to google for it :)
Example:
$ xse -win 0x4400001 '<EnterNotify> Normal DetailNone'
or:
Prev (x2x) Exec xse -win $[w.id] '<EnterNotify> Normal DetailNone'
> in this case, I want to send an EnterNotify event to x2x window, so I
> can
> bind a key to that sending operation, and switch x2x screens by keyboard
> only. binding a key to "WarptoWindow" doesn't work, because the pointer
> suddenly "jumps" into the window, and no "EnterNotify" is generated
>
Interesting, I thought you were mistaken about WarpToWindow, but I tried it
myself and you're right.
--
-------------------------------------
[EMAIL PROTECTED] | finger me for my gpg key.
-------------------------------------------------------
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]