Jesus Ruiz de Infante wrote: > Denis Oliver Kropp wrote: >> Jesus Ruiz de Infante wrote: >>> So it seems that, with respect to the window stacking, pop up windows >>> are not in the same class >> Correct. >> >>> as dialogs. How can that be changed? >>> >>> I have found only a reference to DWSC_UPPER in >>> gdk_window_set_modal_hint() >>> (in gdk/directfb/gdkwindow-directfb.c), which is only called by >>> gtk_window_set_modal() and gtk_window_realize() (in gtk/gtkwindow.c) >> That's not good. As a hotfix you can comment out the change to DWSC_UPPER, >> but to fix it properly, gdk_window_new() should detect that a popup is >> opened >> for a dialog and that it should be in DWSC_UPPER, too. >> > > > Actually gdk_window_set_modal_hint() is called once on the dialog window > and, later, once on the popup window, when they are created, but it seems > that this is not enough to > raise the popup when the combo box is clicked. Is there a way to shuffle > windows > in the DWSC_UPPER class?
A call to IDirectFBWindow::RaiseToTop() should do it. > Also, if both the popup and the dialog are in the DWSC_UPPER stacking class, > why don't > <Meta>-X or <Meta>-S bring the popup to the front? That's indeed a good question. If you're running the multi app core you can try dfbdump to verify the stacking classes. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev