nanogui: runtime sceensize change?
Subject:
Re: [nanogui] runtime sceensize change?
From:
"Massimiliano Turco" ####@####.####
Date:
24 May 2004 11:31:41 +0100
Message-Id: <001901c4417a$8f94dd90$7e0614ac@tecne126>
oh, right I wanted to refer to fb driver but I wrongly wrote instead ts
driver. Btw, thanks Greg.
Regards,
max
----- Original Message -----
From: "Greg Haerr" ####@####.####
To: "Massimiliano Turco" ####@####.####
Cc: ####@####.####
Sent: Saturday, May 22, 2004 5:08 AM
Subject: Re: [nanogui] runtime sceensize change?
> > Is this right? Is ts driver which sets the screen size?
>
> No. The screen size is retrieved from the linux
> kernel screen driver. Look at the code in drivers/scr_fb.c,
> you'll see the ioctl() call which returns a structure which
> indicates the currently set size of the framebuffer. Then
> Microwindows uses those values to set the mouse (ts)
> boundaries as well as the root window clipping region.
>
> Regards,
>
> Greg
>
>