Commit graph

1441 commits

Author SHA1 Message Date
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
Bastien Dejean
4350573ad9 Don't need to enumerate 2017-02-04 11:50:31 +01:00
Bastien Dejean
e495e2789c Add receptacles example 2017-02-04 11:44:48 +01:00
Bastien Dejean
69a212c481 Make DIR be faithfull to the *right-window* spec
Unfortunately, dcd62ea7f3 broke the DIR
descriptor.

Example:

+-------+-------+
|       | b | c |
|   a   |-------|
|   ^   |   d   |
+-------+-------+

If `a` is focused and `d` is the most recently focused node, `east` will
resolve to `b` instead of `d`, because the center `b` is closer to the
center of `a` than `d`.

Another problem is that, given a rectangle (x, y, w, h), the point
(x+w, y+h) was considered to be inside of it: this created false
positives in on_dir_side.

Fixes #594.
2017-02-02 15:46:03 +01:00
Bastien Dejean
1a4f9dadcd Handle NULL node references for DIR and CYCLE_DIR
Fixes #608.
2017-01-31 17:28:47 +01:00
Bastien Dejean
4ad7630fde Fix non-matching undefs 2017-01-31 15:53:47 +01:00
Olmo Kramer
cdb70b8f34 Allow (+|-)fraction in "node --ratio" command 2017-01-30 17:43:56 +01:00
Bastien Dejean
048230eb47 Revert "Allow NULL reference nodes in find_closest_node"
This might unfortunately lead to an infinite loop.
2017-01-28 22:35:39 +01:00
Bastien Dejean
9f30cbfc97 Allow NULL reference nodes in find_closest_node
Fixes #608.
2017-01-28 22:29:18 +01:00
Bastien Dejean
d5d05067e2 Fix a scan-build warning 2017-01-27 21:57:18 +01:00
Bastien Dejean
32e3005d7a Revisit the motion recorder approach to FFP
Fixes #485.
2017-01-27 21:32:05 +01:00
Bastien Dejean
184f444309 Update the format of xtitle in the example panel 2017-01-15 20:25:12 +01:00
Bastien Dejean
a3de967915 Move source files to src/ 2017-01-13 10:42:00 +01:00
Daniel Lublin
ada559d2aa doc: Relate presel direction to insertion mode 2016-12-21 20:53:01 +01:00
Daniel Lublin
b79e33ecb4 Don't install an examples dir in an examples dir
A second run of make install would install an examples dir in an already existing examples dir.
2016-12-14 20:46:58 +01:00
Bastien Dejean
e1c8a1c73b Acknowledge the current padding in struts handling
Fixes #589.
2016-12-09 20:38:58 +01:00
Bastien Dejean
31d90d16c3 Set the border color of all the managed windows
Fixes #588.
2016-12-07 22:34:30 +01:00
Michael Carlberg
5173219579 Support EWMH property _NET_DESKTOP_VIEWPORT
Add support for the EWMH property _NET_DESKTOP_VIEWPORT.
https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317690112
2016-12-01 17:59:23 +01:00
Bastien Dejean
4c93e492e0 Rearrange all desktops after struts modification
Fixes #579.
2016-12-01 17:49:41 +01:00
Bastien Dejean
5299a28343 Stacking isn't focusing
Fixes #576.
2016-11-23 20:41:27 +01:00
Bastien Dejean
01e4116fda Grab buttons on client windows
Fixes #578.
2016-11-23 20:31:59 +01:00
Bastien Dejean
060f6aec19 Only consider struts values that make sense 2016-11-18 18:03:43 +01:00