[haiku] Re: Full-screen and multi-monitor handling, related: I haven't used Haiku, but from what i have seen, this is my atempt to make Haiku R2 compitable to other OSs when released

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 20 Dec 2008 08:29:21 +0100 CET

> This might be one possible way to fix the full-screen problem for 
> situations where full-screen is really required (especially netbooks
> and mobile phones where the typical desktop resolution is VGA):
> 
> Have some kind of API function which returns a list of rectangles
> which should be considered "no-go" areas of the desktop.
> 
> In the case of a single-monitor 800x480 desktop, with the Deskbar
> in the top right of the screen, one rectangle will be returned which
> is the size and position of the Deskbar (top=0, left=688,
> width=112, height=156).

Zeta 1.5 actually did this in BWindow::Zoom(), which clipped the 
Deskbar area out of the desktop rectangle before calling the virtual 
Zoom() method with those values...
I didn't like it because it left lot of space on the right when the 
Deskbar was in the corner as I like it.

François.

Other related posts: