Commit graph

95 commits

Author SHA1 Message Date
Bastien Dejean
f37c14902f Rewrite border drawing in focus_node
6ad8160fad introduced a blinking border
bug under the `mon == m` circumstances, the new code tries to keep it
simple while being exhaustive.
2012-12-25 11:59:56 +01:00
Bastien Dejean
36f30a7c3f Make the remote code adhere to the coding style 2012-12-24 18:55:45 +01:00
Thomas Adam
6ad8160fad Correctly honour 'active_border_color' setting
Ensure the explicitly non-focused monitor with a focused window has its
borders down correctly when 'active_border_color' is used.

Previously, the checks handling this did not set the correct monitor to use.
2012-12-24 13:44:40 +00:00
Bastien Dejean
af06168b61 New message: 'toggle_visibility' 2012-12-23 12:11:08 +01:00
Bastien Dejean
ce885e5e32 Use specified fifo ('-s' flag) instead of stdout 2012-12-18 12:38:46 +01:00
Bastien Dejean
939d569dc0 Use full layout name 2012-12-17 22:06:44 +01:00
Bastien Dejean
4de5f0d4b2 Merge branch 'master' into status 2012-12-17 20:27:22 +01:00
Bastien Dejean
9d9b45fd23 Remove duplicate leftover function 2012-12-17 20:15:30 +01:00
Bastien Dejean
89af85404e New setting: 'status_stdout' 2012-12-17 20:12:23 +01:00
Bastien Dejean
f439efb0f5 New setting: 'adaptative_raise' 2012-12-13 14:00:45 +01:00
Bastien Dejean
4c2a3ce021 Actually change the floating rectangle in fit_monitor 2012-12-10 10:07:13 +01:00
Bastien Dejean
171e9b382a New message: "pad" 2012-12-09 12:01:45 +01:00
Bastien Dejean
5c5405e3d4 Store pointer position in 'focus_node'
Since the 'focus', 'cycle', etc. messages skip 'arrange', we need to add
some code to prevent focus stealing if 'focus_follows_mouse' is 'true'.
2012-11-07 12:05:05 +01:00
Bastien Dejean
cba15c9663 Handle stacking order in focus_node 2012-11-04 14:35:17 +01:00
Bastien Dejean
bb12d0575a Remove message: 'magnetise' 2012-11-04 14:16:30 +01:00
Bastien Dejean
edd2e2422d New setting: 'gapless_monocle' 2012-11-04 14:10:08 +01:00
Bastien Dejean
ce4c9f5887 Compact 'arrange' debug message 2012-11-04 12:34:56 +01:00
Bastien Dejean
531029a80e Monocle: change stacking only when the focus is tiled 2012-11-02 20:22:20 +01:00
Bastien Dejean
7d82867020 Refactor *circulate_leaves* 2012-11-02 12:06:20 +01:00
Bastien Dejean
c28eceb152 New message: 'circulate' 2012-11-01 22:47:03 +01:00
Bastien Dejean
1ab44c4132 Use the monitor, not the screen, rectangle 2012-10-29 10:45:47 +01:00
Bastien Dejean
04bebb797a Fix monocle regression in 'client_message'
The new handling of tiled monocle windows requires to call *arrange*
after *focus_node*.
2012-10-25 19:45:41 +02:00
Bastien Dejean
dfecbdc6e0 Tiled windows should not be above floating windows 2012-10-24 22:17:45 +02:00
Bastien Dejean
0c6a40cbe9 Properly handle 'focus_follows_mouse' 2012-10-23 15:30:30 +02:00
Bastien Dejean
243f1245e7 Options for 'cycle_desktop': --skip-{free,occupied} 2012-10-23 13:31:11 +02:00
Bastien Dejean
379099ee65 Fix wrong assumption regarding window id 2012-10-23 12:48:10 +02:00
Bastien Dejean
f0ab3e390e Merge branch 'develop' 2012-10-23 12:17:19 +02:00
Bastien Dejean
1769e2f58f New messages: 'nearest' and 'alternate_focus' 2012-10-22 11:51:28 +02:00
Bastien Dejean
286fb33dfd Fix monocle 2012-10-18 11:15:43 +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
4d27bfa3e8 Update floating rectangle when border_width changes 2012-10-05 11:35:35 +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
Ivan Kanakarakis
a7201deca9 update wm to use helpers 2012-10-03 20:07:33 +03:00
Ivan Kanakarakis
e31accb4b8 bool is a real type 2012-09-30 18:54:04 +03:00
Bastien Dejean
38316b61a0 Update vacant state when swapping nodes 2012-09-29 16:40:47 +02:00
Bastien Dejean
5c7f9299a5 New setting: "borderless_monocle" 2012-09-29 10:10:58 +02:00
Bastien Dejean
6e2e8094ac Never remove borders on floating windows 2012-09-28 22:46:45 +02:00
Bastien Dejean
0b68e16fc8 Remove window borders whenever possible 2012-09-28 22:39:32 +02:00
Bastien Dejean
cf91c4cb5e Also update vacant state when unlinking nodes 2012-09-28 15:37:43 +02:00
Bastien Dejean
07fa8a6645 Remove vacant debug info in dump_tree 2012-09-28 15:24:03 +02:00
Bastien Dejean
59f1423731 Update vacant state in insert_node
Adding a new new node requires to update the vacant state of the focused
node's parent when the focus is itself vacant, otherwise we end up with
non-valid vacant states and windows will seem to be hidden.
2012-09-28 15:19:39 +02:00
Bastien Dejean
5df99a71ed Removed the Lua dependency 2012-09-27 10:46:04 +02:00
Bastien Dejean
350a2d86bd New message: "magnetise" 2012-09-26 12:11:45 +02:00
Bastien Dejean
310ca26900 Take tall screens into consideration 2012-09-24 20:15:25 +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
2ac2ea6fb6 Fix the unexpected focus after node removal 2012-09-24 15:24:22 +02:00
Bastien Dejean
584588d241 Remove obvious condition 2012-09-24 15:17:22 +02:00
Bastien Dejean
a43b45f7f4 Documentation 2012-09-22 23:11:57 +02:00