FLTK logo

Re: [fltk.general] Bringing a window to the top.

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

Re: Bringing a window to the top. imm 09:59 Oct 07  
 
On Tue, 6 Oct 2026 at 20:02, Phil wrote:
>
> I am undertaking a process of removing critical interactions with my app that need the mouse, as a usability drive.
>
> As art of this I have a global shortcut to cycle through brining each of my app's windows to the top. To bring a window to the top, on X11 I find I need to use take_focus() and on Windows I need to use show(). So I do both.
>
> Is there a simpler way?
>

Hi Phil,

Short answer - I don't know!
I was doing (more or less) this a few months ago and never got
anything I "liked".

On Windows and MacOS ISTR that doing the "show()" mostly worked the
way I wanted, but on *nix I struggled more. It seems like different WM
do different things and I never really got something that Just Worked.
Worse, when I did (briefly) think I had something that worked, I found
it did not work under Wayland - at which point I wandered off to poke
at something else.
Sorry...

-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dYoV49SbNX_jLv_BsnNbo3Y4RS-faKACd_JurMQuDBwvA%40mail.gmail.com.
[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

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