sargon / trayer-srg

trayer fork with multi monitor support, cleaned up codebase and other fancy stuff
Other
223 stars 34 forks source link

Man page : alpha cannot be 256 #57

Open nucleoce opened 2 years ago

nucleoce commented 2 years ago

The man page states that the maximum value for option --alpha is 256, but I suspect it is really 255.

The error message if used with 256 is:

`(trayer:35110): GdkPixbuf-CRITICAL **: 23:00:26.758: gdk_pixbuf_composite_color_simple: assertion 'overall_alpha >= 0 && overall_alpha <= 255' failed

(trayer:35110): Gdk-CRITICAL **: 23:00:26.758: IA__gdk_draw_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(trayer:35110): GLib-GObject-CRITICAL **: 23:00:26.759: g_object_unref: assertion 'G_IS_OBJECT (object)' failed`