]> git.lizzy.rs Git - bspwm.git/commit
Add IDs to desktops and monitors
authorBastien Dejean <nihilhill@gmail.com>
Wed, 16 Mar 2016 14:15:27 +0000 (15:15 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Wed, 16 Mar 2016 14:15:27 +0000 (15:15 +0100)
commit9ae96ebdcd486e6050f37552a58a88de4c1a92d7
treeaa718129a547cecec27d3eda01eabe3bf7866481
parent212442e162109fabaefca9af5c4b4bd42f061a50
Add IDs to desktops and monitors

There's no constraints on desktop and monitor names, therefore, using a
desktop or monitor name as descriptor is ambiguous.

We put an end to this ambiguity by introducing desktop and monitor IDs.

`bspc query -{M,D}` now yields IDs instead of names.

Fixes #397.
27 files changed:
bspwm.c
bspwm.h
desktop.c
desktop.h
doc/bspwm.1
doc/bspwm.1.asciidoc
events.c
examples/bspwmrc
messages.c
monitor.c
monitor.h
parse.c
parse.h
pointer.c
query.c
query.h
restore.c
tests/desktop/swap
tests/desktop/transfer
tests/node/flags
tests/node/insertion
tests/node/removal
tests/node/swap
tests/node/transfer
tree.c
types.h
window.c