Bastien Dejean
c5a22662c4
Make the Makefile more POSIX
2013-01-12 11:39:35 +01:00
Bastien Dejean
d3e351adf6
Revert "Cursor pointer feedbacks for 'grab_pointer'"
...
This reverts commit e1e04bff2e
.
2013-01-12 11:12:17 +01:00
Bastien Dejean
5d3d5c5338
Don't start actions via unmanaged windows
2013-01-10 20:26:00 +01:00
Bastien Dejean
65a84c1c7a
Fix previous rule pointer not being initialized
2013-01-10 19:14:36 +01:00
Bastien Dejean
e1e04bff2e
Cursor pointer feedbacks for 'grab_pointer'
2013-01-10 17:59:22 +01:00
Bastien Dejean
5f1fa05518
New message: 'swap'
2013-01-09 21:45:18 +01:00
Bastien Dejean
878bc8b144
Focus follows pointer needs enter notify events
...
It seems that pointer motion events are not sufficient to enforce
'focus_follows_pointer': some windows grab the pointer and catch those
events (e.g.: *zenity*), preventing *bspwm* from receiving them. So we
need to listen to enter notify events too.
2013-01-09 21:33:19 +01:00
Bastien Dejean
2400ce9e6b
Remove obsolete prototypes
2013-01-09 16:47:20 +01:00
Bastien Dejean
51e6823924
Update TODO
2013-01-08 21:39:23 +01:00
Bastien Dejean
ec46a11d3e
Don't exclude unmapped windows
2013-01-08 16:24:00 +01:00
Bastien Dejean
e8b379bb3b
New messages: '{grab,track,ungrab}_pointer'
...
'focus_follows_mouse' is renamed to 'focus_follows_pointer'.
The aforementioned option is now handled by motion notify events.
sxhkd is now required to achieve window move/resize actions through
the new '*_pointer' messages as bspwm is not grabbing the pointer anymore.
2013-01-08 15:54:39 +01:00
Bastien Dejean
240b6798b0
New messages: '{grab,track,ungrab}_pointer'
2013-01-08 15:52:20 +01:00
Bastien Dejean
250a1fe579
More things to do
2013-01-08 11:07:43 +01:00
Bastien Dejean
f294dae9d1
Add TODO
2013-01-07 20:55:49 +01:00
Bastien Dejean
59f6c2c67a
Remove obsolete headers
2013-01-07 11:52:51 +01:00
Bastien Dejean
04f8334ba8
Make small style alterations to "send_to_monitor"
2013-01-07 11:48:04 +01:00
Bastien Dejean
ee633beda8
Merge pull request #21 from ThomasAdam/ta/send-to-monitor
...
Add --next/--prev options to 'send_to_monitor'
2013-01-07 02:38:32 -08:00
Thomas Adam
b6d70deff4
Add --next/--prev options to 'send_to_monitor'
...
This teaches the send_to_monitor command to send a client to either the
next/prev monitor rather than having to always specify a named monitor.
Such options are useful to be able to send clients to monitors relative to
their own position.
2013-01-07 09:18:41 +00:00
Bastien Dejean
71a9457905
Check for bind/listen errors when creating socket
2013-01-06 18:36:27 +01:00
Bastien Dejean
45ef3b78cc
New message: 'mouse'
...
The code related to mouse buttons handling is gone.
Mouse bindings must now be created via sxhkd.
2013-01-06 18:04:55 +01:00
Bastien Dejean
c4d989dc29
Don't pass the same processor macro multiple times
2013-01-05 12:18:14 +01:00
Bastien Dejean
7a2db3615e
Bye xbindkeys, sxhkd has arrived
2013-01-03 20:23:52 +01:00
Bastien Dejean
ee6f449789
Restore the event mask of the clients in 'restore'
2013-01-02 14:40:18 +01:00
Bastien Dejean
9c809a8ebb
Caps_Lock is always under the 'lock' modmask
2013-01-02 14:04:30 +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
8f431d1fc9
Use the example macro for examples
2012-12-28 17:53:50 +01:00
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