Commit graph

1462 commits

Author SHA1 Message Date
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
Bastien Dejean
2154ea0f9b Don't try to set the layer of an internal node 2017-04-20 20:14:14 +02:00
Bastien Dejean
c87c97ab24 Fail in the absence of commands 2017-04-20 11:21:42 +02:00
László Várady
047a9ecfcc Fix inaccurate split ratio calculation 2017-03-12 00:09:46 +01:00
Bastien Dejean
f197cfdbe7 borderless_monocle: include pseudo-tiled windows
Fixes #617.
2017-02-27 14:21:57 +01:00
Bastien Dejean
eede3ea1a4 Fix dmenu_run invocation in example sxhkdrc 2017-02-15 13:25:46 +01:00
Bastien Dejean
0a9108ae95 Consolidate circulate_leaves
Fixes #614.
2017-02-11 16:32:19 +01:00
Bastien Dejean
ab6fced060 Always restore border consistency in swap_node 2017-02-11 16:22:09 +01:00
Bastien Dejean
c4c6da199f Fix gcc warnings 2017-02-10 22:10:44 +01:00
Olmo Kramer
40cd53a9ad Fix link to Linux coding style 2017-02-10 21:53:01 +01:00
Bastien Dejean
983174699b Enforce a minimum node rectangle size
Fixes #527.
2017-02-09 14:28:07 +01:00