xdm does not respect x-cursor-theme from update-alternatives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xdm
The default Xresources file shipped with xdm hard-codes the use of the Xcursor 'whiteglass' theme rather than respecting the default set via update-alternatives --config x-cursor-theme.
This wouldn't be so bad except that, when using a lightweight window manager or non GNOME/KDE apps, the whiteglass cursors can persist on the root window and can cause inconsistency between e.g. GNOME apps and plain X apps such as xterm.
The attached patch simply removes the hard-coded theme from xdm's Xdefaults file and causes X to fall back to the default x-cursor-theme alternative.
The patch is purely configuration but since Ubuntu provides a mechanism to configure a system-wide Xcursor theme, we should probably respect it.
Thanks for providing a patch for this issue. I would encourage you to also send this upstream.
One question I have is will there always be a default x-cursor-theme? If not, then what will be the default in that case?