[xmonad] Re: [PATCH] XMonad: set the default root cursor to XC_left_ptr

Thomas Adam thomas.adam22 at gmail.com
Mon Sep 14 17:57:19 EDT 2009


2009/9/14 Andres Salomon <dilinger at collabora.co.uk>:
> Sigh.  Care to point me at the spec that states that the window
> manager MUST NOT set the default cursor?

The cursors are set by the XClient, because, as so many people fail to
understand, they're a property of the XServer.  Guess what a window
manager is?  Just another XClient.  If you do something like:

xsetroot -cursor foo

That's setting it for the root-window -- which most WM's will be
controlling anyway.  If that's not set then it will use whatever the
default one is set on the XServer, although most distros have a means
to set this globally (c.f. in Debian with update-alternatives.)

-- Thomas Adam


More information about the xmonad mailing list