[][src]Module penrose::core::xconnection

API wrapper for talking to the X server using XCB

  • The crate used by penrose for talking to the X server is rust-xcb, which
  • is a set of bindings for the C level XCB library that are autogenerated
  • from an XML spec. The XML files can be found
  • here and are useful
  • as reference for how the API works. Sections have been converted and added
  • to the documentation of the method calls and enums present in this module.
  • EWMH
  • Xlib manual

Structs

MockXConn

A dummy XConn implementation for testing

XcbConnection

Handles communication with an X server via xcb

Enums

XEvent

Wrapper around the low level XCB event types that require casting to work with. Not all event fields are extracted so check the XCB documentation and update accordingly if you need access to something that isn't currently passed through to the WindowManager event loop.

Traits

XConn

A handle on a running X11 connection that we can use for issuing X requests