Re: About window decorations



>Of course if working around the WM is the right tradeoff for your app,
>feel free, but for the purposes of answering the question on a public
>list I'd say GTK_WINDOW_POPUP is wrong.

GTK defines 3 window types:

    TOPLEVEL
    DIALOG
    POPUP

all but the last receive WM decoration. i think it more appropriate to
stick with these 3 types, and avoid the creation of extra "implicit"
types, eg:

       DIALOG-without-decoration
       DIALOG-with-decoration
       DIALOG-with-most-decoration
       DIALOG-with-a-little-decoration
       etc.

thats for the user to control via their WM config files.

If an app wants to create a window with altered decoration, i don't
think it should do so unless its prepared to follow the possibilities
offered by the 3 window types. The closest possibility to the original
question is POPUP.

The whole idea of creating a window with app-chosen WM decoration is
quite problematic to me, *unless* it really is a popup window.

--p


	




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]