> > 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?
Yes, this works. I did a hack build that used the menu_window() check and set the type to _NET_WM_WINDOW_TYPE_MENU and the menu windows then opened without the compiz animations, which is the desired effect and makes things look "normal" alongside other apps on the system. I will not post patches from my testing tree though - it is a mess as I did this test on top of the patches from Alvin, and along with some other hacking around I'd done, so... too untidy... Some caveats and observations: 1) Alvin's patches to add the xtype() method are such that they only apply to windows that are *not* marked as override_redirect, which threw me for a bit. Menu windows *are* override_redirect it seems, so Alvin's xtype() method patch does not apply to them (which may explain why it did not work when I tried to use it to fix the menu windows...) 2) On this ubuntu box, when running the menubar demo, the "huge" menu item is empty - it simply draws an empty white rectangle. This happens with my hack build, and with a regular checkout of fltk-1.3, but *not* with a 1.1.10 snapshot. Might be an XFT thing? (My 1.1.10 build is not-XFT...) or perhaps we have changed something else, or...? Hmm, might be an XFT thing - just did a build of 1.1.10 with XFT enabled and the "huge" menu is now broken in that too... -- Ian _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
