FLTK logo

[fltk.coredev] take_focus or focus(this) on Linux raises the Fl_Gl_Window

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

take_focus or focus(this) on Linux raises the Fl_Gl_Window Gonzalo Garramuño 06:35 Mar 08  
  This is a problem specific to Linux.  It does not seem to happen on Windows or macOS.

Calling take_focus() or focus(this) on Linux, will not only have the OpenGL (a derived Fl_Gl_Window) take the focus but it will also raise the window above the other Windows of the OS.

I notice this, for example, when I have my terminal window at the front for re-compiling, and when I move the mouse to my viewer, I get my terminal sent to the bottom.

--
Gonzalo Garramuño
ggarra13@gmail.com

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/a7469091-e37b-4aee-b8d6-c1eaf5f321f0%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.