Re: Dual Monitors



Brian J. Tarricone writes:
and gdk_screen_get_n_monitors() on each screen will tell
you how many monitors make up that particular xinerama screen.

... and on Windows, if that is of interest, it works more or less the
same. gdk_display_get_n_screens() always returns 1, and
gdk_screen_get_n_monitors() returns how many monitors one has. (Well,
technically how many monitors the Windows desktop is extended to; you
can have monitors attached that aren't part of the desktop ("root
window") and thus usable only by special-purpose applications.) Note
that the number of monitors can change on the fly on Windows at lest.

--tml





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