Tony Crisci fd8a2b0e51 IPC: set ws reply "num" member to -1 when named
When a named workspace (i.e., a workspace that has a name that does not
begin with text that can be parsed as an integer greater than or equal
to zero) is represented by the ipc as a workspace json object such as
can be queried with `i3-msg -t get_workspaces`, set the num property to
-1 instead of json null.

This is for convenience of ipc consumers using type-constrained
languages such as C which have difficulty cleanly expressing nullable
integers.

fixes #1368
2014-09-29 09:33:02 +02:00
2014-06-19 11:20:32 +02:00
2014-06-19 11:20:32 +02:00
2014-07-24 10:11:34 +02:00
2014-06-15 19:12:16 +02:00
2014-06-19 11:20:32 +02:00
2014-06-21 19:10:37 +02:00
2011-08-28 17:44:42 +02:00
2014-05-04 23:07:53 +02:00
2011-08-28 17:44:42 +02:00
Description
No description provided
15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%