Hi, "R O N A L D D U C K" <[EMAIL PROTECTED]> writes:
> I want to dynamically enable and disable the input sources. Like > sometime I don't want the keyboard and the mouse event to > occur. Even if it occurs, I don't want to send it to the GTK Layer > or to the window. How will I do this. But I do want the events > enabled after sometime. So without removing the driver, how will I > do this. I searched for a function to enable/disable input source > but I could not find. Please help me to resolve this. The following call makes a DirectFB window a ghost window, it will not get focus nor any input events: window->SetOptions (window, DWOP_GHOST); you can also use these function to disable/enable specific event types: window->EnableEvents (window, mask); window->DisableEvents (window, mask); The GDK backend could actually be changed to use the latter functions based on the event_mask of the GDK window (and its children) but it doesn't. I'm undecided if it would make sense to do this change. Salut, Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
