[maemo-developers] [maemo-developers] Creating Home Applet
From: Johan Bilien jobi at via.ecp.frDate: Wed Dec 20 21:49:16 EET 2006
- Previous message: [maemo-developers] Creating Home Applet
- Next message: [maemo-developers] Taste the Herring!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Dec 20, 2006, andrew gatt wrote: > OK so it seems that someone else asked this question before and didn't > get a reply - is there no way to remotely put an application in > fullscreen mode? It can be done with code executed by the application, > but i suppose there is no dbus message that can activate it? Is it > possible to fake the F6 key and send that to the application, therefore > faking the hardware keypress? I only want to start the application in > fullscreen mode and after that leave control to the user. I don't know of any way to remotely set the window to fullscreen, but you can indeed fake the F6 key using XTest: #include <X11/extensions/XTest.h> XTestFakeKeyEvent (display, keycode, TRUE, CurrentTime); XTestFakeKeyEvent (display, keycode, FALSE, CurrentTime); -- Johan Bilien <jobi at via.ecp.fr>
- Previous message: [maemo-developers] Creating Home Applet
- Next message: [maemo-developers] Taste the Herring!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]