Commit graph

67 commits

Author SHA1 Message Date
Bastien Dejean
9f9368cc8d When removing the focused monitor focus another 2013-06-09 22:19:00 +02:00
Bastien Dejean
c0970551e5 Better fallback for current monitor removal 2013-06-09 21:33:20 +02:00
Bastien Dejean
e3bc2b90bd While merging a monitor, the source ends up empty 2013-06-09 17:12:21 +02:00
Bastien Dejean
12403a5081 Handle fullscreen state in apply_layout 2013-06-08 18:31:55 +02:00
Bastien Dejean
cd97c9b971 Handle visibility within desktop_{show,hide} 2013-06-07 13:58:22 +02:00
Bastien Dejean
9cac7cd459 Consolidate transfer_desktop 2013-06-07 11:17:41 +02:00
Bastien Dejean
1449794750 Revert "Revert "Try not to point to an unlinked desktop""
This reverts commit 9eb7be1303.
2013-06-06 11:51:57 +02:00
Bastien Dejean
9eb7be1303 Revert "Try not to point to an unlinked desktop"
This reverts commit 454c492a2f.
2013-06-06 00:39:55 +02:00
Bastien Dejean
454c492a2f Try not to point to an unlinked desktop 2013-06-06 00:29:50 +02:00
Bastien Dejean
23d392e49f When unlinking a desktop clear the prev/next links 2013-06-03 10:18:06 +02:00
Bastien Dejean
d9ffb7050f New message: remove_desktop 2013-06-01 12:00:26 +02:00
Bastien Dejean
e01130f5d1 Fix put_status crash on cleanup 2013-05-31 21:24:39 +02:00
Bastien Dejean
44534985ea Consolidate monitor disconnection handling 2013-05-31 16:10:54 +02:00
Bastien Dejean
eecc8291b9 Handle desk and last_desk in remove_desktop 2013-05-29 21:58:25 +02:00
Bastien Dejean
c7f3d1a695 Handle removal of focused monitor 2013-05-29 10:37:52 +02:00
Bastien Dejean
d8f54f3e3e Select focused desktop when selecting monitor
Also:
- Observe `auto_alternate` with `use_monitor`.
- Update `last_mon` when a monitor is removed.
2013-05-29 10:00:25 +02:00
Bastien Dejean
38b3f3531a Handle monitors via RandR 2013-05-29 08:35:13 +02:00
Bastien Dejean
82bd5644cb The birth_rotation attribute replaces birth_mode
The `birth_mode` was not sufficient for properly unrotate the brother of
a removed node. The `birth_rotation` stores the rotation applied to the
brother subtree when the node was inserted.

This should help to enforce that (L + n) - n = L in every possible
cases. Which means that adding a node and removing it should leave the
layout unchanged.
2013-05-08 14:10:53 +02:00
Bastien Dejean
2b2175103c Add a few comments regarding the latest state 2013-05-07 14:29:17 +02:00
Bastien Dejean
0bb82628a5 Keep consistent names for node lists 2013-05-07 14:21:15 +02:00
Bastien Dejean
387c6243b4 Simply history removal 2013-05-07 14:15:15 +02:00
Bastien Dejean
1c83941f7c Reverse history list order
Otherwise, `history_remove` breaks the `latest` state.
2013-05-06 19:24:41 +02:00
Bastien Dejean
6c7d7d9444 Stack tiling windows via focus history 2013-05-06 18:31:53 +02:00
Bastien Dejean
06065f0cf5 Merge branch 'master' into history
Conflicts:
	messages.c
	tree.c
2013-05-06 11:36:12 +02:00
Bastien Dejean
d533b704e4 New setting: split_ratio 2013-04-03 12:19:01 +02:00
Bastien Dejean
b273b9c9bd New argument for the rule message: follow 2013-03-12 10:56:45 +01:00
Bastien Dejean
ce0091c9ef Optional desktop name for list_history 2013-03-03 13:10:52 +01:00
Bastien Dejean
fbd397b986 Remove all references in history_remove 2013-03-03 12:41:29 +01:00
Bastien Dejean
409aad038f Merge branch 'master' into focus-history 2013-03-03 10:44:13 +01:00
Bastien Dejean
0f6f533a87 Unify tiled and floating pointer actions
The following 'grab_pointer' arguments are removed: 'move_tiled',
'resize_tiled'. The regular 'move' and 'resize_*' arguments shall be
used instead. The 'fence_grip' parameter is no longer meaningful and
has been removed. Moving and resizing now behaves the same for tiled and
floating windows.
2013-02-28 15:04:14 +01: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
890c4a1f3b Merge branch 'master' into focus-history 2013-01-19 21:45:05 +01:00
Bastien Dejean
65a84c1c7a Fix previous rule pointer not being initialized 2013-01-10 19:14:36 +01:00
Bastien Dejean
85c2983df2 New message: 'restore' 2012-12-27 22:36:06 +01:00
Bastien Dejean
e016b801f0 Relieve tree.c from non tree related functions 2012-12-26 22:48:07 +01:00
Bastien Dejean
d7878763f9 Free what we remove 2012-12-26 15:22:36 +01:00
Bastien Dejean
b693e7dda9 Cleanup before leaving 2012-12-26 14:39:46 +01:00
Bastien Dejean
6b2d8152ca New message: 'list_rules' 2012-12-25 19:03:35 +01:00
Bastien Dejean
171e9b382a New message: "pad" 2012-12-09 12:01:45 +01:00
Bastien Dejean
675d5aee2f New rule effect: move to the given desktop 2012-11-11 18:40:55 +01:00
Bastien Dejean
0772e7d99c Focus history: initial attempt 2012-11-04 12:27:39 +01:00
Bastien Dejean
379099ee65 Fix wrong assumption regarding window id 2012-10-23 12:48:10 +02:00
Bastien Dejean
2a3362fc4b Added support for multiple monitors 2012-10-17 16:18:40 +02:00
Bastien Dejean
eaba8c6715 Revert previous commit 2012-09-29 17:32:22 +02:00
Bastien Dejean
b9cb79f55d Rules: switch to the given desktop 2012-09-29 17:18:45 +02:00
Bastien Dejean
36140fe1c3 Try to address the potential buffer overflows 2012-09-29 11:57:41 +02:00
Bastien Dejean
0b68e16fc8 Remove window borders whenever possible 2012-09-28 22:39:32 +02:00
Bastien Dejean
80ca33c3cd Options to skip same or different class in "cycle"
Two options have been added to the "cycle" message: --skip-class-equal
and --skip-class-differ. The class name of the client is now shown in
the output of the "dump" command instead of the letter "C".
2012-09-24 19:40:49 +02:00
Bastien Dejean
e81bb851be Move floating windows with the mouse, fix born_as 2012-09-22 15:10:59 +02:00
Bastien Dejean
d5cb36c31f Show / hide wrappers should make unmap_notify work 2012-09-21 19:05:42 +02:00