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? 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? -- Mit freundlichen Grüßen Jesus Ruiz de Infante (Entwicklung) HALE electronic GmbH Eugen-Müller-Straße 18, 5020 Salzburg, Austria Tel: +43 (662) 439011 0 Fax: +43 (662) 439011 9 [EMAIL PROTECTED] Firmenbuchnummer: FN 66801m HG Salzburg -- Scanned by MailScanner. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev