Commit graph

421 commits

Author SHA1 Message Date
Bastien Dejean
5218fbbe17 Use the header continuation macro if necessary 2012-12-28 17:49:33 +01:00
Bastien Dejean
5c0acca0c0 Don't add unnecessary dependencies 2012-12-27 22:37:16 +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
92c52517da More informative output for 'list*' messages
It will facilitate debugging and also provide an exhaustive
representation of the current state that might be used to reconstruct
the layout of each desktops. While doing so, it occurred to me that the
*born_as* attribute of the *node_t* structure was only used for leaves,
so I changed it into a *client_t* attribute.
2012-12-26 21:19:10 +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
cb111d3aa9 Border color: *urgent* goes before *locked* 2012-12-26 10:30:50 +01:00
Bastien Dejean
0924042146 Merge pull request #20 from ThomasAdam/ta/fix-urgency-border-color
Fix drawing of urgency border colour
2012-12-26 01:25:59 -08:00
Thomas Adam
154163be96 Fix drawing of urgency border colour
It looks as though commit f37c14902f
introduced a regression in the way urgency borders are rendered.  Because
each window is considered across all desktops for monitors, we must now
augment the checking of an urgent client when looking up the border colours
for focused windows also.

Without this, a single window on a desk on an unfocused monitor will be
correctly set as having an urgent hint, but its borders will not pick up on
any urgent border colour settings.
2012-12-26 00:41:23 +00:00
Bastien Dejean
f7120e3e77 Make function name concur with message name 2012-12-25 23:13:11 +01:00
Bastien Dejean
8ac6c6c4ff Orphaned windows shall be initially invisible 2012-12-25 23:02:16 +01:00
Bastien Dejean
164db4b6c2 New message: 'remove_rule' 2012-12-25 19:28:24 +01:00
Bastien Dejean
bfe1d95454 Two digits is enough 2012-12-25 19:07:12 +01:00
Bastien Dejean
6b2d8152ca New message: 'list_rules' 2012-12-25 19:03:35 +01:00
Bastien Dejean
5dfc01095a Only the current window shall not become urgent
We should only discard the urgency state of the focused window of the
focused desktop of the focused monitor.
2012-12-25 12:39:23 +01:00
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
Bastien Dejean
a7d7ea456b Merge pull request #18 from ThomasAdam/ta/active-border-color
Correctly honour 'active_border_color' setting
2012-12-24 09:53:38 -08: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
62f32bc655 New optional EXIT_STATUS argument for 'quit'
Also removed the 'reload' message because of its uselessness.
2012-12-24 12:02:35 +01:00
Bastien Dejean
243b39d3b8 Toggle visibility across all monitors 2012-12-24 11:02:15 +01:00
Bastien Dejean
b8bd68b533 Add '--follow' option to 'send_to*' messages 2012-12-23 13:14:33 +01:00
Bastien Dejean
81135a1953 Also give input focus when making window visible 2012-12-23 12:14:30 +01:00
Bastien Dejean
af06168b61 New message: 'toggle_visibility' 2012-12-23 12:11:08 +01:00
Bastien Dejean
5d39c5b93e Handle optional split ratio in 'presel' 2012-12-21 11:34:08 +01:00
Bastien Dejean
e9d2c79c05 Fix make debug instructions 2012-12-21 10:55:13 +01:00
Bastien Dejean
43f76714aa Prevent focus stealing for 'focus_follows_mouse'
When 'focus_follows_mouse' was enabled, and the focus was given (through
the 'focus' message) to another window, it was possible for the previous
window to generate an enter notify event and, hence, stole the focus.
2012-12-20 11:14:38 +01:00
Bastien Dejean
2e5099848c Minor syntactic improvements 2012-12-19 17:51:43 +01:00
Bastien Dejean
01335eddc9 Small typos 2012-12-19 17:47:13 +01:00
Bastien Dejean
a61d976cc3 Actually remove the 'status_stdout' setting 2012-12-19 16:10:12 +01:00
Bastien Dejean
6dd7231327 Add the custom panel opportunity 2012-12-19 15:57:16 +01:00
Bastien Dejean
cc06609f74 Add example panel 2012-12-19 15:50:42 +01:00
Bastien Dejean
66420326a3 Merge branch 'status' 2012-12-19 15:44:10 +01:00
Bastien Dejean
40ba576685 Further instructions regarding gdb 2012-12-19 14:42:19 +01:00
Bastien Dejean
26805bb637 Merge branch 'master' into status 2012-12-19 12:57:58 +01:00
Bastien Dejean
39d6b65982 Add contribution informations 2012-12-19 12:57:02 +01:00
Bastien Dejean
a009f70ecd Merge branch 'master' into status 2012-12-18 12:44:05 +01:00
Bastien Dejean
84cb0e0c29 Mention mailing list 2012-12-18 12:43:37 +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
a8570bb058 Center earlier 2012-12-14 15:47:36 +01:00
Bastien Dejean
be4b9bf773 Center when the position is the origin 2012-12-14 15:43:22 +01:00
Bastien Dejean
ad421ab770 Mention 'shkd' 2012-12-13 17:59:04 +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