X11-1.6.1.1: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
MaintainerDon Stewart <dons@galois.com>
Safe HaskellNone

Graphics.X11.Xinerama

Description

 

Synopsis

Documentation

data XineramaScreenInfo

Representation of the XineramaScreenInfo struct

Constructors

XineramaScreenInfo 

Fields

xsi_screen_number :: !CInt
 
xsi_x_org :: !CShort
 
xsi_y_org :: !CShort
 
xsi_width :: !CShort
 
xsi_height :: !CShort
 

Instances

xineramaQueryExtension :: Display -> IO (Maybe (CInt, CInt))

xineramaQueryVersion :: Display -> IO (Maybe (CInt, CInt))

getScreenInfo :: Display -> IO [Rectangle]

Wrapper around xineramaQueryScreens that fakes a single screen when Xinerama is not active. This is the preferred interface to Graphics.X11.Xinerama.