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

Signal handlers handling SIGCHLD's can't be established.

Could not connect to X server.

Could not acquire a screen reference from the X server.

An atom used by the window manager wasn't accepted by the X server.

A border color could not be allocated with the X server.

Another window manager is running, so we can't get the necessary event mask registered with the X server.

The RandR version we need is not supported.

RandR initializing event receival failed.

The call to randr::get_screen_resources failed.

The set of CRTCs was empty.

The connection to the X server has been interrupted.

Input/Output with the X server has issues.

Methods

impl WmError
[src]

"Handle" an error, ie. print error message and exit.