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
CouldNotEstablishHandlersSignal handlers handling SIGCHLD's can't be established.
CouldNotConnect(ConnError)Could not connect to X server.
CouldNotAcquireScreenCould 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.
CouldNotAllocateColorsA border color could not be allocated with the X server.
OtherWmRunningAnother window manager is running, so we can't get the necessary event mask registered with the X server.
RandRVersionMismatchThe RandR version we need is not supported.
RandRSetupFailedRandR initializing event receival failed.
CouldNotGetScreenResourcesThe call to randr::get_screen_resources failed.
BadCrtcThe set of CRTCs was empty.
ConnectionInterruptedThe connection to the X server has been interrupted.
IOErrorInput/Output with the X server has issues.
Methods
impl WmError[src]
fn handle(self) -> !
"Handle" an error, ie. print error message and exit.