Constructors
Instances1Storable
Storable WindowAttributesDefined in X11-1.10.3 · Graphics.X11.Xlib.Extras
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
ModuleX11-1.10.3Haskell98
Storable WindowAttributesDefined in X11-1.10.3 · Graphics.X11.Xlib.ExtrasAnyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !WindowConfigureRequestEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_parent :: !Windowev_window :: !Windowev_x :: !CIntev_y :: !CIntev_width :: !CIntev_height :: !CIntev_border_width :: !CIntev_above :: !Windowev_detail :: !NotifyDetailev_value_mask :: !CULongConfigureEventMapRequestEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_parent :: !Windowev_window :: !WindowKeyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_subwindow :: !Windowev_time :: !Timeev_x :: !CIntev_y :: !CIntev_x_root :: !CIntev_y_root :: !CIntev_state :: !KeyMaskev_keycode :: !KeyCodeev_same_screen :: !BoolButtonEventMotionEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_x :: !CIntev_y :: !CIntev_window :: !WindowDestroyWindowEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !WindowUnmapEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !Windowev_from_configure :: !BoolMapNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !Windowev_override_redirect :: !BoolMappingNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_request :: !MappingRequestev_first_keycode :: !KeyCodeev_count :: !CIntCrossingEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_subwindow :: !Windowev_time :: !Timeev_x :: !CIntev_y :: !CIntev_x_root :: !CIntev_y_root :: !CIntev_mode :: !NotifyModeev_detail :: !NotifyDetailev_same_screen :: !Boolev_focus :: !Boolev_state :: !ModifierSelectionRequestev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_owner :: !Windowev_requestor :: !Windowev_selection :: !Atomev_target :: !Atomev_property :: !Atomev_time :: !TimeSelectionClearev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_selection :: !Atomev_time :: !TimePropertyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_atom :: !Atomev_time :: !Timeev_propstate :: !CIntExposeEventFocusChangeEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_mode :: !NotifyModeev_detail :: !NotifyDetailClientMessageEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_message_type :: !Atomev_data :: ![CInt]RRScreenChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_timestamp :: !Timeev_config_timestamp :: !Timeev_size_index :: !SizeIDev_subpixel_order :: !SubpixelOrderev_rotation :: !Rotationev_width :: !CIntev_height :: !CIntev_mwidth :: !CIntev_mheight :: !CIntRRNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntRRCrtcChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_crtc :: !RRCrtcev_rr_mode :: !RRModeev_rotation :: !Rotationev_x :: !CIntev_y :: !CIntev_rr_width :: !CUIntev_rr_height :: !CUIntRROutputChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_output :: !RROutputev_crtc :: !RRCrtcev_rr_mode :: !RRModeev_rotation :: !Rotationev_connection :: !Connectionev_subpixel_order :: !SubpixelOrderRROutputPropertyNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_output :: !RROutputev_property :: !Atomev_timestamp :: !Timeev_rr_state :: !CIntScreenSaverNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_ss_state :: !XScreenSaverStateev_ss_kind :: !XScreenSaverKindev_forced :: !Boolev_time :: !TimerefreshKeyboardMapping. TODO Remove this binding when the fix has been commited to X11
WindowChangeswc_x :: CIntwc_y :: CIntwc_width :: CIntwc_height :: CIntwc_border_width :: CIntwc_sibling :: Windowwc_stack_mode :: CIntStorable WindowChangesDefined in X11-1.10.3 · Graphics.X11.Xlib.Extrasinterface to the X11 library function XChangeWindowAttributes().
Run an action with the server
Storable TextPropertyDefined in X11-1.10.3 · Graphics.X11.Xlib.ExtrasThe XGetWMProtocols function returns the list of atoms stored in the WM_PROTOCOLS property on the specified window. These atoms describe window manager protocols in which the owner of this window is willing to participate. If the property exists, is of type ATOM, is of format 32, and the atom WM_PROTOCOLS can be interned, XGetWMProtocols sets the protocols_return argument to a list of atoms, sets the count_return argument to the number of elements in the list, and returns a nonzero status. Otherwise, it sets neither of the return arguments and returns a zero status. To release the list of atoms, use XFree.
SizeHintssh_min_size :: Maybe (Dimension, Dimension)sh_max_size :: Maybe (Dimension, Dimension)sh_resize_inc :: Maybe (Dimension, Dimension)sh_aspect :: Maybe ((Dimension, Dimension), (Dimension, Dimension))sh_base_size :: Maybe (Dimension, Dimension)sh_win_gravity :: Maybe BitGravitySet the WM_CLASS property for the given window.
ErrorEventev_type :: !CIntev_display :: Displayev_serialnum :: !CULongev_error_code :: !CUCharev_request_code :: !CUCharev_minor_code :: !CUCharev_resourceid :: !XIDA binding to XSetErrorHandler. NOTE: This is pretty experimental because of safe vs. unsafe calls. I changed sync to a safe call, but there *might* be other calls that cause a problem
Retrieves error event data from a pointer to an XErrorEvent and puts it into an ErrorEvent.
A binding to XMapRaised.