Rafal, I think You have right, we need something like this. However, I always had opinion that WM-related code should be separated into a separate layer. Long ago, when Mikko, I, Martin, Alexey (the old eFLTK project) and others discussed this we touched this topic as well. I remember we have agreed that WM-related functions/classes should go into a separate layer . Mikko later called it "Window Manager Abstraction Layer" - WMAL.
IMHO that was a very good idea and I suggest we separate WM code and put it in x11/wm.cxx, windows/wm.cxx and osx/wm.cxx files. Apart from this, I am fine with your code. :) Well done! Cheers! _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
