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


Alvin, thanks for your work on this, and Ian, thanks for testing. I'd like
to add some comments ...

The menu animation can obviously be solved by setting
_NET_WM_WINDOW_TYPE_MENU, as shown when we discussed this previously by
Isaque for FLTK 2.0. See STR #2230:

http://www.fltk.org/str.php?L2230
http://www.fltk.org/strfiles/2230/menu_compiz_v2.diff

When we discussed this, I added two new flags() to Fl_Widget) that were
intended to be used for this, but then I didn't find the time to complete
it. So, what we have already is two set/get methods for Fl_Window:
[set_]menu_window() and [set_]tooltip_window().

This is somewhat redundant, i.e. the proposed Fl_Window::xtype() would
have the same or similar information, but would probably be easier to
extend (?). I'm open for both ways, and I think that we could easily
remove the two flag bits from Fl_Widget::flags() again, if this is the
better way.

Any opinions about Fl_Widget::flags() bits vs. Fl_Window::xtype() ?

----

Ian, for testing the compiz animation, you could set the correct
_NET_WM_WINDOW_TYPE_MENU depending on Fl_Window::menu_window(), because
this is currently implemented already.

Does this work?


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

Reply via email to