Commit graph

1322 commits

Author SHA1 Message Date
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
Bastien Dejean
7404946e33 Add setting: swallow_first_click 2016-11-17 18:07:26 +01:00
Bastien Dejean
201f6e6924 Update screen_{width,height} when the root changes 2016-11-14 20:42:54 +01:00
Bastien Dejean
89adecf1d5 Eliminate false positives in ewmh_handle_struts 2016-11-14 13:21:58 +01:00
Nathan Isom
dc4372f152 Remove rule key implication from config command. 2016-11-14 11:27:27 +01:00
Bastien Dejean
e00b6c9e5c Don't replay the initial click in button_press
When `click_to_focus` is set, clicking on a window should simply focus
that window and not trigger some random action that might be attached to
an interactive element under the pointer.
2016-11-14 10:38:46 +01:00
Bastien Dejean
b14ec64565 Discard ref descendants in find_nearest_neighbor
Fixes #566.
2016-11-12 11:36:37 +01:00
Bastien Dejean
eb483bbe12 Fix the description of DESKTOP_SEL's .local 2016-11-12 10:35:25 +01:00
Bastien Dejean
a4574745e0 Restrain cycling in the example sxhkdrc
Fixes #565.
2016-11-12 10:33:19 +01:00
Bastien Dejean
68ecbc4838 Call activate_desktop in activate_node
Fixes #567.
2016-11-12 10:05:37 +01:00
Bastien Dejean
73be87d104 Add the --names option to the query domain
Fixes #562.
2016-11-04 10:28:24 +01:00
Bastien Dejean
0482a74ceb Version 0.9.2 2016-10-30 13:25:26 +01:00
Bastien Dejean
64339f81b3 Handle _NET_WM_STRUT_PARTIAL
Fixes #487.
2016-10-22 13:01:16 +02:00
Bastien Dejean
9dffb6fc01 Handle the border width setting for internal nodes
Fixes #547.
2016-10-11 18:37:08 +02:00
Thilo Wischmeyer
8664c007e4 Add an event for pointer actions
Fixes #536.
2016-09-30 21:39:06 +02:00
Bastien Dejean
9efe76b8b0 Set WM_STATE when managing/unmanaging windows
Fixes #222.
2016-09-30 20:36:23 +02:00
Bastien Dejean
ccddf1231d Add node modifier: active 2016-09-22 22:30:38 +02:00
nfnty
70b477de2e Replace malloc with calloc 2016-08-14 13:53:12 +02:00
nfnty
dcd62ea7f3 Fix neighbor DIR selection for overlapping windows
Use center as origin.
2016-08-14 12:16:33 +02:00
nfnty
ea4b095276 Fix memory leaks 2016-08-14 09:51:50 +02:00