Commit graph

1322 commits

Author SHA1 Message Date
Bastien Dejean
7cf093417e Always reactivate when the active desktop is moved
Fixes #720.
2017-10-07 19:04:53 +02:00
Bastien Dejean
49caeb8ce8 Pass intermediate conseq. as arg. to ext. rules
Inside the external rules script, `eval "$4"` provides a convenient way
of accessing the current values.
2017-09-29 11:19:53 +02:00
Bastien Dejean
d953f6fa7f Restore old map/unmap behavior
Fixes #708.
2017-09-21 11:32:32 +02:00
Bastien Dejean
a46496835c Handle the removal of non-empty desktops 2017-09-11 17:27:01 +02:00
Bastien Dejean
e621b9859d Take advantage of xdo's *wait for match* option 2017-09-09 11:24:53 +02:00
Bastien Dejean
614a56b753 Add a special raw name selector
Fixes #704.
2017-09-08 21:23:53 +02:00
Bastien Dejean
412da35b73 Keep the focused item focused
Fixes #691.
Fixes #701.
2017-09-07 21:23:11 +02:00
Bastien Dejean
417bd714ba Interpret map / unmap as show / hide
Fixes #618.
Fixes #682.
2017-09-07 14:29:45 +02:00
Justinien Bouron
41dc94f63c Add new monitor selector : pointed. 2017-08-24 21:04:23 +02:00
Bastien Dejean
15b39f1834 Mention forbidden characters 2017-08-22 12:03:23 +02:00
Bastien Dejean
7091d65f4e Don't assume the uniqueness of desktop names
Fixes #698.
2017-08-22 11:54:15 +02:00
Bastien Dejean
7ff9c88727 Carefully describe the desktop index descriptor 2017-08-21 10:13:06 +02:00
Jasper Lievisse Adriaanse
e4fa0f24ff Allow passing LDFLAGS 2017-08-10 16:54:10 +02:00
Bastien Dejean
18b3a4ec4f Regenerate IDs in restore_tree
Fixes #690.
2017-08-08 09:13:59 +02:00
László Várady
835ab36709 Fix gcc warnings
warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
2017-07-31 17:06:07 +02:00
Bastien Dejean
b4c470784d Add wm command: --reorder-monitors 2017-07-30 14:48:03 +02:00
Bastien Dejean
a4c5b29212 Fix monitor's -o long variant name 2017-07-30 14:23:29 +02:00
Bastien Dejean
01ad5c5c49 Prevent invalid use of query's --names option 2017-07-25 20:45:18 +02:00
Bastien Dejean
efec936fbf Use $XDG_RUNTIME_DIR as default temp. dir. 2017-07-25 19:06:21 +02:00
Bastien Dejean
ecd6976ccb Don't handle deprecated click_to_focus values 2017-07-24 21:03:52 +02:00
Bastien Dejean
98ef99cfee Simplify tests/prelude 2017-07-24 20:49:55 +02:00
Bastien Dejean
196610445c Rename node_{manage,unmanage} to node_{add,remove}
To be consistent with the other *_{add,remove} events.

The insertion point is also now given in third position, because it is
part of the coordinates.
2017-07-24 20:39:10 +02:00
Bastien Dejean
9ea4b012ac Add an option to *subscribe*: --fifo 2017-07-24 20:28:22 +02:00
Bastien Dejean
9ce48c468b Make the *loop* and the *panel* examples compatible 2017-07-23 10:40:56 +02:00
Bastien Dejean
5cf8280033 Improve *subscribe*'s documentation 2017-07-23 10:33:15 +02:00
Bastien Dejean
c968f7a180 Discard meaningless COUNT values 2017-07-23 10:27:08 +02:00
Bastien Dejean
e7a2a1c048 Fix gcc warnings 2017-07-23 10:25:11 +02:00
Bastien Dejean
e9f9bedbb5 Use consistent variable names 2017-07-23 10:22:24 +02:00
Bastien Dejean
225561a18d Make the poll logic work on Linux
On Darwin we need to set the `events` field to `POLLHUP`, otherwise we
won't receive `POLLHUP` events (this doesn't make sense: here's an
excerpt from the *poll* manual regarding `POLLHUP`: *This flag is output
only, and ignored if present in the input _events_ bitmask*).

On Linux, we get a `POLLERR` event instead of the `POLLHUP` event. And
we could set the `events` field to 0, but then it wouldn't work on silly
systems that requires `POLLHUP`.
2017-07-23 10:03:45 +02:00
Bastien Dejean
98fe29a638 bspc: Stop if stdout is closed
Fixes #681.
2017-07-22 22:28:13 +02:00
Bastien Dejean
c744b74bc9 Add an option to *subscribe*: --count 2017-07-22 16:55:31 +02:00
Bastien Dejean
0ae3c57164 Remove obsolete shell completion 2017-07-16 21:33:20 +02:00
Bastien Dejean
dacea30e21 Version 0.9.3 2017-07-14 21:01:20 +02:00
Bastien Dejean
0a9b6153af *click_to_focus* is now a button name
Booleans are deprecated but still accepted.
2017-07-12 10:33:51 +02:00
Matthijs Steen
61d5ca4756 click_to_focus should also apply to middle and right click 2017-07-03 00:57:33 +02:00
Bastien Dejean
cc3d3060fb Fix regression introduced by b181b5c
Fixes #669.
2017-06-26 21:55:21 +02:00
Lesik
e3f0f9c1fc Remove deprecated "Encoding" key
The "Encoding" key has been deprecated: https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#deprecated-items
2017-06-18 22:06:32 +02:00
Justinien Bouron
c3cc414b6e Add rule consequence: rectangle 2017-06-12 09:48:17 +02:00
Justinien Bouron
b181b5c775 Refactor : remove code duplication + modularize apply_rule. Enfore coding conventions. 2017-06-09 00:05:54 +02:00
fluffywaffles
75a69d7f09 Fix spelling in wm subcommand error message
"Unkown" should be "Unknown"
2017-06-07 13:03:05 -05:00
Bastien Dejean
4b035e0ac2 Automatically fix the monitor ordering
Fixes #654.
2017-06-07 19:28:56 +02:00
Bastien Dejean
05df448ed8 Fix ordering of overlapping rectangles 2017-06-07 19:27:06 +02:00
Bastien Dejean
fff172e5ca Add setting: directional_focus_tightness 2017-06-04 10:25:11 +02:00
Justinien Bouron
fab441bb6c Fix memory leak in register_events 2017-06-03 21:18:24 +02:00
Bastien Dejean
e2a959cd81 Discard identical rectangles in on_dir_side 2017-06-03 21:09:51 +02:00
Bastien Dejean
adb66e6264 Revert "Tighten the notion of being on the DIR side of"
This reverts commit 7561be48e3.
2017-06-03 20:54:43 +02:00
Vincent Pasquier
96f337b71f export environment to configuration file 2017-06-01 22:03:00 +02:00
Bastien Dejean
7561be48e3 Tighten the notion of being on the DIR side of
Fixes #650.
2017-05-27 19:19:36 +02:00
Bastien Dejean
ae76469130 Don't assume any key ordering when restoring state
Fixes #649.
2017-05-26 10:16:02 +02:00
Olmo Kramer
e5cb04df18 cast terminating NULL to (char *) in execl() call
Just randomly happened upon this, but the Linux Programmer's Manual states:
```
$ man 3 execl

The const char *arg and subsequent ellipses in the execl(), execlp(), and execle() functions can be thought of as arg0, arg1, ..., argn.   ... The list of arguments must be terminated by a null pointer, and, since these are variadic functions, this pointer must be cast (char *) NULL.
```
2017-04-21 08:29:46 +02:00