taffybar-3.0.0: A desktop bar similar to xmobar, but with more GUI

Copyright(c) Ivan A. Malison
LicenseBSD3-style (see LICENSE)
MaintainerIvan A. Malison
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

System.Taffybar.Information.SafeX11

Contents

Description

 
Synopsis

Documentation

getErrorEvent :: XErrorEventPtr -> IO ErrorEvent Source #

Retrieves error event data from a pointer to an XErrorEvent and puts it into an ErrorEvent.

setErrorHandler :: XErrorHandler -> IO () Source #

A 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

getWMProtocols :: Display -> Window -> IO [Atom] Source #

The 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.

withServer :: Display -> IO () -> IO () Source #

Run an action with the server

changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO () Source #

interface to the X11 library function XChangeWindowAttributes().

mapRaised :: Display -> Window -> IO CInt Source #

A binding to XMapRaised.

data Event Source #

Constructors

AnyEvent 
ConfigureRequestEvent 
ConfigureEvent 
MapRequestEvent 
KeyEvent 
ButtonEvent 
MotionEvent 
DestroyWindowEvent 
UnmapEvent 
MapNotifyEvent 
MappingNotifyEvent 
CrossingEvent 
SelectionRequest 
SelectionClear 
PropertyEvent 
ExposeEvent 
ClientMessageEvent 
RRScreenChangeNotifyEvent 
RRNotifyEvent 
RRCrtcChangeNotifyEvent 
RROutputChangeNotifyEvent 
RROutputPropertyNotifyEvent 
ScreenSaverNotifyEvent 
Instances
Show Event 
Instance details

Defined in Graphics.X11.Xlib.Extras

Message Event 
Instance details

Defined in XMonad.Core

data ClassHint Source #

Constructors

ClassHint 

Fields

outParameters7 :: (Storable a, Storable b, Storable c, Storable d, Storable e, Storable f, Storable g) => (IO r -> IO ()) -> (Ptr a -> Ptr b -> Ptr c -> Ptr d -> Ptr e -> Ptr f -> Ptr g -> IO r) -> IO (a, b, c, d, e, f, g) Source #

Orphan instances