gri3-wm/i3bar/src
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
..
child.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
config.c i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
ipc.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
main.c i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
mode.c Add setting for minimal width of workspace buttons 2019-06-25 13:10:01 +07:00
outputs.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
parse_json_header.c Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
workspaces.c Limit workspace numbers within 0..INT32_MAX 2020-02-21 02:07:04 +00:00
xcb.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00