[Xcb] Window Manager already running.

Peter Harris peter.harris at hummingbird.com
Tue Sep 16 13:35:42 PDT 2008


Fernando Virgens wrote:
> how can i check wheter a Window Manager is already running?

Set XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT on the root window using
xcb_change_window_attributes_checked. If you get an XCB_ACCESS error,
another window manager is already running. If not, remember to deselect
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT before launching your window manager.

Peter Harris

-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866


More information about the Xcb mailing list