Hi, I am trying to write an application in clutter, which has to redirect a few button presses/key strokes to another GTK application just behind the Clutter window in stacking order.
Libfakekey used by the matchbox-virtual-keyboard seemed a logical choice for passing on modified key-strokes. It uses XTestFakeKeyEvent to send key events to a display. I have tested whether the library works on my system using fakekey-test and the matchbox-virtual-keyboard. Both are working. I am using matchbox on X as window manager. Problem: My clutter application doesn't redirect keys. :) Matchbox virtual keyboard seems to be able to position itself as a window of type TOOLBAR, with override redirect. My application sets the same X window properties: (for which I have mainly referred the matchbox-virtual-keyboard code). However, I couldn't set XSetWindowAttributes related to the XWindowCreate as its not exposed for Clutter Window. I tried to use "XChangeWindowAttributes" later on the X window too, but on a button press, application crashes. My questions: 1) Any way to specify, parameters to XWindowCreate for the Clutter stage Xwindow. 2) Any other way to make my Clutter application behave like the matchbox-keyboard ? Gaurav Roy.. -- To unsubscribe send a mail to [EMAIL PROTECTED]
