Enum gabelstaplerwm::wm::err::WmError
[−]
[src]
pub enum WmError { CouldNotEstablishHandlers, CouldNotConnect(ConnError), CouldNotAcquireScreen, CouldNotRegisterAtom(String), CouldNotAllocateColors, OtherWmRunning, RandRVersionMismatch, RandRSetupFailed, CouldNotGetScreenResources, BadCrtc, ConnectionInterrupted, IOError, }
An error encountered by the WM.
Variants
CouldNotEstablishHandlers
Signal handlers handling SIGCHLD's can't be established.
CouldNotConnect(ConnError)
Could not connect to X server.
CouldNotAcquireScreen
Could not acquire a screen reference from the X server.
CouldNotRegisterAtom(String)
An atom used by the window manager wasn't accepted by the X server.
CouldNotAllocateColors
A border color could not be allocated with the X server.
OtherWmRunning
Another window manager is running, so we can't get the necessary event mask registered with the X server.
RandRVersionMismatch
The RandR version we need is not supported.
RandRSetupFailed
RandR initializing event receival failed.
CouldNotGetScreenResources
The call to randr::get_screen_resources
failed.
BadCrtc
The set of CRTCs was empty.
ConnectionInterrupted
The connection to the X server has been interrupted.
IOError
Input/Output with the X server has issues.
Methods
impl WmError
[src]
fn handle(self) -> !
"Handle" an error, ie. print error message and exit.