Bad error name when duplicating mode
Submitted by Mark van Rossum
Assigned to Keith Packard @keithp
Link to original bug (#100969)
Description
If I enter
xrandr --newmode "1920x1080_60" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
twice, then the 2nd try throws an error as it should. However, the error is very uninformative, if not wrong.
X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 139 (RANDR) Minor opcode of failed request: 16 (RRCreateMode) Serial number of failed request: 44 Current serial number in output stream: 44
It should report "mode name already in use" or similar.