Hi, "Stephen Perez" <[EMAIL PROTECTED]> writes:
> What is the best way to handle events on the background? For > example, if I click on a window I want that window to get the event, > but if I click on the background I wan't to handle that click > seperatly (ie. in a different eventbuffer). the problem is that DirectFB doesn't have the concept of a root window. You can however create a window the size of the screen and put it into the lower stacking class. This window will then serve as the background and can share one EventBuffer with the other windows. If you don't intend to draw on the background you should consider to use an input-only window for the background in order to save resources. You should also set the background window options to KEEP_SIZE, KEEP_POSITION, KEEP_STACKING and INDESTRUCTIBLE to assure that it stays where you created it. Salut, Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
