I am using 1.3rc3 on the latest Ubuntu and am having a problem with
non-modal windows going behind normal windows in the same application. 

My intent is to have a button bar always in front of an openGL canvas so
I made the buttons a separate non-modal window.  As I understand it this
means it should always be above the normal window but allow the normal
window to continue accepting events.  This seemed to work but now
whenever I click the normal window it pops in front of the button bar no
matter what the modal setting.  

I have a separate non-modal window used elsewhere in the program that I 
try using here as well and it works as intended(always on top/both windows 
active).  
When I query non_modal() for the button bar it returns the value 32 and 
returns 0 if I remove the non_modal setting so I believe the window has 
the correct settings.   

The only difference I can see in how I am using fltk from most examples
I have seen is that I am currently instantiating all windows  at startup
and either hiding or showing them depending on the state.  When doing it
this way the showing order is important, calling show() on windows from
back to front(which I am doing). 

Any ideas?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to