Commit graph

34 commits

Author SHA1 Message Date
Bastien Dejean
9dd581faaf Allow subscribers to choose what they listen to 2015-05-09 21:12:19 +02:00
Bastien Dejean
c49bc92d12 Use generic BSD 2-clause license
Fixes #176
2014-10-22 11:53:03 +02:00
Bastien Dejean
42a0fdd253 Refactor error reporting
Fixes #123
2014-02-17 11:55:34 +01:00
Bastien Dejean
76cd787937 Fix window centering 2014-02-09 16:57:14 +01:00
Bastien Dejean
b9dcab1900 Remove trailing spaces in headers 2014-01-19 14:41:37 +01:00
Bastien Dejean
c231e8cf41 Indentation: convert spaces to tabs
http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
2014-01-18 16:30:00 +01:00
Bastien Dejean
48e0043f84 Implement the pseudo-tiled window state 2013-12-27 14:23:25 +01:00
Bastien Dejean
15695c066b Add copyright header 2013-10-08 21:05:56 +02:00
Bastien Dejean
607e01e41e Decrease the header guards collision chances 2013-10-08 21:02:33 +02:00
Bastien Dejean
34b8692796 Use compliant header guard 2013-10-08 11:58:54 +02:00
Bastien Dejean
a75979be62 Implement tags 2013-10-05 22:32:40 +02:00
Bastien Dejean
80caab4445 Make sure strings are null-terminated 2013-09-21 12:39:59 +02:00
Bastien Dejean
ea49ed35d7 Compute colors on the fly
When drawing window borders, we must consider the color map of the
window to compute the correct color *pixel*.
2013-09-04 21:57:26 +02:00
Bastien Dejean
9e791903f9 Use the standard abs function 2013-07-12 22:27:09 +02:00
Bastien Dejean
8fd8521322 Rewrite message handling
The new message syntax:
- Provides 10 commands instead of 60.
- Allows multiple actions to be applied in one call.

The client now returns an non zero exit code when a message fails.

The `is_adjacent` function now handles vacant nodes.
2013-07-12 21:52:02 +02:00
Bastien Dejean
ffea1b6f52 Synchronize the motion recorder and the root window 2013-06-02 22:03:51 +02:00
Bastien Dejean
e6da88fa1c New setting: focus_by_distance
The aforementioned setting, when set, makes the focus movements based on
the distances between the window sides.

The `{prev,next}_leaf` functions were taught not to climb above their
roofs.
2013-05-07 22:45:14 +02:00
Bastien Dejean
7741295902 Add tiled move/resize pointer actions
New arguments for `grab_pointer`: `{move,resize}_tiled`.
New setting: `fence_grip`.
2013-02-04 14:22:41 +01:00
Bastien Dejean
240b6798b0 New messages: '{grab,track,ungrab}_pointer' 2013-01-08 15:52:20 +01:00
Bastien Dejean
45ef3b78cc New message: 'mouse'
The code related to mouse buttons handling is gone.
Mouse bindings must now be created via sxhkd.
2013-01-06 18:04:55 +01:00
Bastien Dejean
0c6a40cbe9 Properly handle 'focus_follows_mouse' 2012-10-23 15:30:30 +02:00
Bastien Dejean
7217e8fdbe Cosmetic changes 2012-10-06 11:55:22 +02:00
Bastien Dejean
a1f0b2c337 Prevent buffer overruns in dump_tree and al. 2012-10-04 14:46:41 +02:00
Bastien Dejean
931e735e97 Always use BUFSIZ 2012-10-04 13:59:05 +02:00
Bastien Dejean
ad7dfb9776 Address the non-portability of the PRINTF macro 2012-10-04 11:49:23 +02:00
Ivan Kanakarakis
dac696d74d corerctly handle debug messages 2012-10-03 20:50:37 +03:00
Ivan Kanakarakis
19a24f2c0d merge misc with helpers 2012-10-03 20:06:10 +03:00
Ivan Kanakarakis
e31accb4b8 bool is a real type 2012-09-30 18:54:04 +03:00
Bastien Dejean
e81bb851be Move floating windows with the mouse, fix born_as 2012-09-22 15:10:59 +02:00
Bastien Dejean
40f87f4349 Toggle fullscreen, cycle leaf, more messages 2012-09-12 14:56:51 +02:00
Bastien Dejean
aa1c50417d Proper strings, drop non POSIX strdup 2012-09-10 13:47:51 +02:00
Bastien Dejean
3405f96c39 Focus node, refactor 2012-09-05 14:07:06 +02:00
Bastien Dejean
59f780a51a Apply layout, padding settings 2012-09-04 21:01:50 +02:00
baskerville
73cbaa495f Refactoring 2012-08-20 22:38:29 +02:00