On 26.02.2010, at 12:42, Emil wrote: >> I have the following problem and I was wondering that maybe I am doing >> something wrong: >> After I call fullscreen_off method on my window the border doesn't get >> drawn. Calling mainWindow->redraw() doesn't help but windowMain->hide() >> before windowMain->fullscreen_off() and windowMain->show() after helps. >> However doing hide() and show() makes the window to flick which is not very >> pleasant. Is here any other way to fix that or it is a bug? >> >> I use fltk 2 on Slackware Linux 13 with Fluxbox 1.1.1 WM. > > By the way this is the same behavior with fltk 1.1.10.
IIRC this is an X11 issue. There may be a way to restore the "decoration", but I am not aware of it. hide and show rebuilds a whole new interface, which obviously restores the Decoration, but the flickering can not be avoided. Well, maybe you could : 1: create another full screen window that has the same background color as the current one 2: hide the current one - since there is a new one in front, it will mask the dissappearing window 3: show the new window: it'll be in front of our "curtain" 4: destroy the "curtain" window _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

