Re: WinXP and secondary screen
- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: WinXP and secondary screen
- Date: Fri, 09 Dec 2005 14:21:07 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/9/2005 2:15 PM, Andreas Schou Værge wrote:
"Brian J. Tarricone" <bjt23 cornell edu> wrote:
My guess is that, on Windows, the multihead support is
showing up
similarly as how Xinerama works on X11. So in other words,
you have a
single GdkScreen, but multiple logical monitors under that
screen. You
can figure out the number and geometry of these using
gdk_screen_get_n_monitors() and
gdk_screen_get_monitor_geometry(). Note
that this is a case you need to be aware of on X11 systems
as well.
Thanks for the advice, it helped me alot. However now I have
a different problem. When I put the application into fullscreen
mode the fullscreen window always appears on the primary
screen. I have tried resizing and moving the fullscreen window
but (ofcourse) this does not work resulting in the window not
changing at all. I am aware that all fullscreen functionality is
window manager dependent which makes me doubt there is
much I can do about it. Please prove my scepticism wrong :)
No, you're right: this depends on the window manager. If you really
need/want to do fullscreen on your own, don't call
gtk_window_fullscreen(), and instead you can use
gtk_window_set_decorations() to remove the window borders,
gtk_window_set_keep_above() to force the window to the top, and
gtk_window_resize()/gtk_window_move() to place it properly.
Regards,
Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFDmgNT6XyW6VEeAnsRAjYfAJ0dcySx9u4ozWbhYYLXzXGGXedCwACfc1vJ
caPiXPKgr3RZAzf8N1yo1Pw=
=Aclw
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]