Commit graph

32 commits

Author SHA1 Message Date
Bastien Dejean
c49bc92d12 Use generic BSD 2-clause license
Fixes #176
2014-10-22 11:53:03 +02: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
15695c066b Add copyright header 2013-10-08 21:05:56 +02:00
Bastien Dejean
c5d4c6577d Handle _NET_WM_STATE more carefully
After all, it seems (see spectrwm) that the window manager should
maintain that property.
2013-10-07 11:41:54 +02:00
Bastien Dejean
bfded1effc History is global and stacking is independent
The last desktop and monitor are now deduced from the history.

The stacking order is now independent from the history of the focused
nodes: this prevents hacks on both sides.

All windows are now considered in the stacking algorithm: it prevents
tiled windows from one monitor to appear above the floating windows of
another monitor.

Transfered windows are stacked below the windows of the same kind.
2013-10-01 10:48:03 +02:00
Bastien Dejean
1182033b50 Consolidate EWMH desktop names handling 2013-09-24 21:13:56 +02:00
bwright1558
91f8216280 Fixed uninitialized variable warning when compiling 2013-09-21 09:10:59 -05:00
Bastien Dejean
80caab4445 Make sure strings are null-terminated 2013-09-21 12:39:59 +02:00
Bastien Dejean
85f67b2164 Remove a few useless header inclusion via deheader 2013-09-19 15:38:22 +02:00
Bastien Dejean
b0bd818abe Exhaustively update EWMH desktops 2013-09-11 12:19:03 +02:00
Bastien Dejean
a172241810 Update EWMH desktop indexes when swapping 2013-09-10 15:05:50 +02:00
Bastien Dejean
824ee423c9 Remove setting: wm_name
The above setting's purpose was to replace `wmname` but it appears that
it can't be done without violating the EWMH standards and creating bad
side effects.
2013-09-05 11:09:24 +02:00
Bastien Dejean
e2f085815a Add index selector for desktops and monitors 2013-09-02 21:03:59 +02:00
Bastien Dejean
d454596484 Keep the real wm name on the supporting window 2013-08-30 14:00:02 +02:00
Bastien Dejean
f98770b8fc Support _NET_SUPPORTING_WM_CHECK 2013-08-30 11:46:57 +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
0ec9e15d6d Reset stacking client list whenever appropriate 2013-06-30 22:02:57 +02:00
Bastien Dejean
f19cf121d7 Call arrange in transfer_node
Fix a few regressions, and add numerous minor cosmetic improvements.
2013-06-06 23:51:30 +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
e58b0735df Update examples in relation to clock 2013-04-12 11:46:20 +02:00
Bastien Dejean
dd86f2d296 Check the initialization of EWMH atoms 2013-01-29 17:08:35 +01:00
Bastien Dejean
6526e56b8c Remove settings: '{numlock,capslock}_modifier'
The lock keys (num, caps, scroll) are now handled internally and the
aforementioned settings are obsolete.
2013-01-02 12:36:54 +01:00
Bastien Dejean
240c75c704 Orphan adoption: restore desktops organization 2012-10-25 21:49:14 +02:00
Bastien Dejean
2a3362fc4b Added support for multiple monitors 2012-10-17 16:18:40 +02:00
Bastien Dejean
2c7075d5ba Handle _NET_WM_DESKTOP 2012-10-10 21:36:19 +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
24507288bf Numerous fixes 2012-09-18 17:21:04 +02:00
Bastien Dejean
b757724a57 Flush, EWMH, new events, presel border fix 2012-09-16 14:16:58 +02:00
Bastien Dejean
7e3569f0fa Simplify get_color 2012-09-14 11:30:41 +02:00
Bastien Dejean
3639ba08a2 Timid EWMH incursion 2012-08-23 22:32:11 +02:00