DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2082 Version: 1.3-feature I have attached 3 files. Either of the patches should be used but not both. Depending on whether STR 2053 <http://www.fltk.org/str.php?L2053> is accepted or not will dictate which patch to use (if this str is accepted). As an aside, I have been using STR 2053 with great success since it was submitted into the STR database. Regardless of which .patch is selected, the following will happen: The patch will add Fl_Window::xtype(), Fl_Window::xtype(Fl_Windowtype) and enum Fl_Windowtype. The patch adds support for two types of windows: Normal and Dialog. There are other types which can easily be added if the need arises. I tried to mirror the implementation for WM_CLASS (e.g. Fl_Window::xclass()). str2082_wo_str2053.patch This patch applies to the current fltk 1.3 svn (6495). It has no dependencies. str2082_w_str2053.patch This patch requires that svn be first patched using the patch from STR 2053. With this patch applied, Fl_Window will fully support both WM_CLASS and _NET_WM_WINDOW_TYPE hints. xtype_test.fl A simple program that spawns a Fl_Window. The Fl_Window will have a xtype of FL_NORMAL_WINDOW. When the button (child of the Fl_Window) is selected, another Fl_Window is shown however with its type set to FL_DIALOG_WINDOW. Under X, the program <TT>xprop</TT> can be used to verify that indeed the appropriate _NET_WM_WINDOW_TYPE is being set. Additionally, if compiz-fusion is installed different animations can be used (i.e. Zoom or type=Normal and Fade for type=Dialog) with FLTK apps. One final note, this patch only alters Fl_x.cxx. I do not use the other OSes that FLTK supports. I leave it to users of those OSes to implement the platform-specific support. Link: http://www.fltk.org/str.php?L2082 Version: 1.3-feature _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
