gri3-wm/i3bar
Albert Safin 83c7aff089 Limit workspace numbers within 0..INT32_MAX
Before this commit, large workspace numbers treated oddly:

   $ i3-msg 'rename workspace to 1234567890'
   # displayed in i3bar as `0`

   $ i3-msg 'rename workspace to 4294967200'
   $ i3-msg -t get_workspaces | jq '.[]|select(.focused).num'
   -96 # int32_t overflow

   $ i3-msg 'rename workspace to 99999999999999999999'
   $ i3-msg -t get_workspaces | jq '.[]|select(.focused).num'
   -1 # treated as unnumbered

This commit puts a consistent limit on workspace numbers.  Now
workspaces with numbers beyond INT32_MAX are treated as unnumbered.
2020-02-21 02:07:04 +00:00
..
include i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
src Limit workspace numbers within 0..INT32_MAX 2020-02-21 02:07:04 +00:00
.gitignore Mention the color-options in the manpage 2010-11-04 12:43:41 +01:00
LICENSE Update i3bar LICENSE to conform to other LICENSE files. (#2284) 2016-04-10 04:15:49 -07:00