sipi / dwm-status2d

patch for DWM that allows colors and draw rectangle in the DWM status bar
GNU General Public License v3.0
20 stars 3 forks source link

Window manager crashes for wrong pixel value #10

Open Schueni1 opened 2 years ago

Schueni1 commented 2 years ago

If the argument for 'f' is not an integer the whole window manager crashes. This does not seem correct. I think a message to stderr via fprintf would be a better solution.

Example:

xsetroot -name "^fff^hello"

Another Example:

xsetroot -name "^c#FFfffffff^foobar^d^barfoo"