Bastien Dejean
baca7122ab
Merge into existing monitors when rectangles are equal
2014-05-05 20:48:45 +02:00
Bastien Dejean
9cbb95c31c
Pluralize setting
2014-05-05 11:58:12 +02:00
Bastien Dejean
d2abc2d20e
New setting: merge_overlapping_monitors
2014-05-05 11:54:49 +02:00
Bastien Dejean
aca232b23c
Don't remove unplugged monitors by default
2014-05-05 11:46:55 +02:00
Bastien Dejean
ab6b6c5e36
Use proper function names
2014-05-05 11:35:06 +02:00
Bastien Dejean
f04da55ab6
New setting: persistent_monitors
2014-04-29 11:50:09 +02:00
Bastien Dejean
764b428d38
The list of monitors must start with the primary monitor
2014-02-07 11:58:11 +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
b972f0abbd
Provide padding settings for monitors
...
If a padding space is requested for a status bar, it concerns the
underlying monitor.
2013-12-28 10:30:49 +01:00
Bastien Dejean
471fd2c7fc
Turn {top,right,bottom,left}_padding into desktop settings
2013-12-25 10:06:02 +01:00
Bastien Dejean
7df593f4e8
Handle clients outside of every monitors
2013-11-28 11:32:20 +01:00
Bastien Dejean
1cc2eed330
New setting: remove_disabled_monitor
2013-11-10 12:07:14 +01:00
Steven Allen
c8de8931e3
Handle partially off-screen windows.
...
If a window is partially off-screen, preserve the off-screen regions.
2013-10-27 10:53:37 -04:00
Bastien Dejean
c989aa7efc
Merge translate_position and translate_client
...
- Expand `underlying_monitor` into `monitor_from_client` to avoid
passing a NULL pointer to `translate_client`.
- Remove the `fit_monitor` setting (use the `--center` rule effect
instead).
- Don't remap a window in it's last location (node invisibility would be
the proper way to do this).
- Call `translate_client` after configure requests.
2013-10-27 11:25:34 +01:00
Steven Allen
344ab2d269
Relatively translate floating clients to the correct monitor
2013-10-26 15:36:05 -04:00
Bastien Dejean
ae1ed3b795
New setting: fit_monitor
2013-10-23 22:20:34 +02:00
Bastien Dejean
dc805f9a6a
Consolidate fit_monitor
2013-10-20 20:33:34 +02:00
Bastien Dejean
229d5797dd
Simplify fit_monitor
2013-10-20 14:39:01 +02:00
Bastien Dejean
d396210f41
Revert "Initially center floating windows on their monitor"
...
In fact we can't do that, otherwise floating windows that do specify non
silly initial coordinates would be ignored.
2013-10-19 22:01:40 +02:00
Bastien Dejean
114881d958
Initially center floating windows on their monitor
...
And simplify fit_monitor along the way.
2013-10-19 21:31:34 +02:00
Bastien Dejean
15695c066b
Add copyright header
2013-10-08 21:05:56 +02:00
Bastien Dejean
759b87bb66
Add the older/newer selectors to all the objects
...
But also:
- Add a new modifier: `local`.
- Remove useless modifiers.
2013-10-08 17:47:00 +02:00
Bastien Dejean
35e9927ed9
Make sticky windows stick to their monitor
2013-10-06 16:58:02 +02:00
Bastien Dejean
a75979be62
Implement tags
2013-10-05 22:32:40 +02:00
Bastien Dejean
d653f1cb70
Use consistent function names
2013-10-02 11:01:21 +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
9729efc422
Don't remove connected monitors
2013-09-26 22:21:46 +02:00
Bastien Dejean
dcfc11b1c5
Remove unused variable
2013-09-26 19:18:05 +02:00
Bastien Dejean
8c0d4eb3fe
Don't merge two overlapping known monitors
2013-09-26 14:56:23 +02:00
Bastien Dejean
6ae7601dbf
Initialize desk_{head,tail} in make_monitor
2013-09-24 21:18:44 +02:00
Bastien Dejean
48d181fc48
Add desktops to new monitors before anything else
2013-09-24 14:02:26 +02:00
Bastien Dejean
70c6cada07
Make focus_follows_pointer work on empty desktops
2013-09-22 11:16:06 +02:00
Bastien Dejean
a3aedec365
Fix truncated monitor name
2013-09-21 23:44:30 +02:00
Bastien Dejean
ca2d03072a
Merge overlapping monitors
2013-09-21 21:14:29 +02:00
Bastien Dejean
80caab4445
Make sure strings are null-terminated
2013-09-21 12:39:59 +02:00
Bastien Dejean
3dda8e7f6f
Move a few functions from tree to desktop/monitor
2013-09-20 11:57:09 +02:00
Bastien Dejean
85f67b2164
Remove a few useless header inclusion via deheader
2013-09-19 15:38:22 +02:00
Bastien Dejean
d168e919e3
Split types.c into {monitor,desktop,history}.c
2013-09-19 15:02:49 +02:00