openbox
openbox copied to clipboard
Allow adding/removing desktops by index
See Bugzilla 5974 The commit message describes the functionality added.
Keys "last" and "current" should work exactly the same as before.
Gah, I force-updated this commit, and it erased all of your code review. Edit: actually, it still exists here sneaky Github
Anyway, this re-commit addresses the issues you raised (namely styling and behaviour of adding with "current" keyword). That behaviour is accomplished by a parameter gboolean follow in screen_add_desktop.
This is actually buggy with raising windows on desktop remove right now - don't bother looking over it yet.
Ok, ping me again when it's ready :) Thanks!
This code works for me, including the old "current" behaviour. Take a look at your leisure.
ping