FLTK logo

[fltk.general] Re: Window maximizing with 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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Window maximizing with Fl_Gl_Window "'Matthias Melcher' via fltk.general" Jan 27, 2023  
  Hmm, in the System Driver that you are using, FLTK should generate a resize() wich in turn should set the damage flags and redraw the entire screen. Maybe the maximise event is happening before the window is actually maximised. X11 and Wayland guys?

When the user maximizes a window, it will receive a FL_FULLSCREEN event in `handle()`. If it is not handled by the window, it should be propagated to all children. Maybe you can use that event to call `redraw()` on the GL window. Maybe a delayed redraw() will do it. - This is of course just a quick-fix. It will be fixed inside the library I am sure. I don't used Ubuntu myself, and it works correctly on a current Mac.

--
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 on the web visit https://groups.google.com/d/msgid/fltkgeneral/5e451649-dc7b-4dc1-ad13-bcb0e6db8195n%40googlegroups.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'.