Re: Injecting keypress into a window



Steve Smith <ssmith vislab usyd edu au> writes:
> I'm attempting to use Sawfish for 'advanced' window management, and
> I would like to inject keypress events into a window.
> 'send-client-message' seems to be what I need

Nope, it sends a client message event, not a keypress event.  Client
messages are used for inter-client communication, e.g., the window
manager can ask an application to close a window.  Try synthesize-event.
Note that some applications ignore synthetic events as a primitive
security measure.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]