[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] force screen redraw in GEM/XAAES



Jo Even Skarstein wrote:

> On Thu, 2011-08-04 at 00:18 +0200, Peter Persson wrote:
>
> > 1. Copy the menu-bar portion of the screen just after you lock the screen & go fullscreen. Restore that area prior to unlocking the screen again.
> > 2. Install your own menu bar & remove it again before program exit.
>
> The first one sounds good. It's faster than (2), and unlike (2) it's not
> a kludge or workaround. It does exactly what it's intended to - redraw
> the menu-bar.

I think you're wrong.

1. How do you know the size of the menubar? Width and height are not
constant.

2. The menubar-area might have changed during full-screen (top-app might have
exited or whatever)


-Helmut