Commit graph

128 commits

Author SHA1 Message Date
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
ec46a11d3e Don't exclude unmapped windows 2013-01-08 16:24:00 +01:00
Bastien Dejean
240b6798b0 New messages: '{grab,track,ungrab}_pointer' 2013-01-08 15:52:20 +01:00
Bastien Dejean
59f6c2c67a Remove obsolete headers 2013-01-07 11:52:51 +01: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
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
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
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
af06168b61 New message: 'toggle_visibility' 2012-12-23 12:11:08 +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
ce885e5e32 Use specified fifo ('-s' flag) instead of stdout 2012-12-18 12:38:46 +01:00
Bastien Dejean
9b237551e6 New settings: 'numlock_modifier' and 'capslock_modifier' 2012-12-03 19:30:48 +01:00
Bastien Dejean
9eeb60e932 Also ungrab on NumLock 2012-12-03 12:09:02 +01:00
Bastien Dejean
2a2bdc37f8 Mouse bindings: handle NumLock 2012-12-03 10:46:23 +01:00
Bastien Dejean
9426ed2941 Add support for the _COMPTON_SHADOW atom 2012-11-29 15:28:43 +01:00
Bastien Dejean
6e0818a9da Register events as early as possible 2012-11-10 12:00:30 +01:00
Bastien Dejean
240c75c704 Orphan adoption: restore desktops organization 2012-10-25 21:49:14 +02:00
Bastien Dejean
0061b72445 New message: 'adopt_orphans'
The adoption of orphans needs to occur after the definition of desktops
and rules in the *autostart*.
2012-10-25 21:02:04 +02:00
Bastien Dejean
5c538b5d18 Fix minor typos 2012-10-25 15:20:14 +02:00
Bastien Dejean
6e3af9fe33 Rely on _NET_WM_DESKTOP for orphans adoption 2012-10-25 12:42:30 +02:00
Bastien Dejean
0124ca2383 Don't be silly 2012-10-24 19:05:02 +02:00
Bastien Dejean
1a96affd21 Check map_state value in adopt_orphans 2012-10-24 17:39:15 +02:00
Bastien Dejean
277d7d4131 Don't make wild guesses on things that need to be freed 2012-10-24 17:20:48 +02:00
Bastien Dejean
5ad12f917d Initial approach for orphans adoption 2012-10-24 16:34:56 +02:00
Bastien Dejean
c6786af58b Refactor README, support VERSION in *main* 2012-10-24 12:30:37 +02:00
Bastien Dejean
9a09998d9f Fix the handling of 'button_modifier' 2012-10-23 17:01:32 +02:00
Bastien Dejean
0c6a40cbe9 Properly handle 'focus_follows_mouse' 2012-10-23 15:30:30 +02:00
Bastien Dejean
379099ee65 Fix wrong assumption regarding window id 2012-10-23 12:48:10 +02:00
Bastien Dejean
d810e72c35 New setting: 'button_modifier' 2012-10-23 12:42:40 +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
07b7f292d4 Handle _NET_WM_WINDOW_TYPE_{DOCK,NOTIFICATION}
Fancy panels (tint2, bmpanel2, ...) can now be used with bspwm.
2012-10-10 23:01:38 +02:00
Bastien Dejean
2c7075d5ba Handle _NET_WM_DESKTOP 2012-10-10 21:36:19 +02:00
Bastien Dejean
7217e8fdbe Cosmetic changes 2012-10-06 11:55:22 +02:00
Bastien Dejean
a1f0b2c337 Prevent buffer overruns in dump_tree and al. 2012-10-04 14:46:41 +02:00
Bastien Dejean
a8562891d3 Empty rsp after sending it
Since some functions still use *strcat* (e.g. *dump_tree*), it is
necessary to empty rsp after filling it. This is a temporary fix.
2012-10-04 11:38:23 +02:00
Bastien Dejean
94ab18c49c Remove trailing new line in response
Some functions, e.g. *dump_tree*, will end *rsp* with a new line and
*bspc* already takes care of that.
2012-10-03 23:00:03 +02:00
Ivan Kanakarakis
a7201deca9 update wm to use helpers 2012-10-03 20:07:33 +03:00
Ivan Kanakarakis
e657198953 no need for an EMPTY_RESPONSE 2012-10-02 21:54:02 +03:00
Ivan Kanakarakis
e31accb4b8 bool is a real type 2012-09-30 18:54:04 +03:00
Bastien Dejean
36140fe1c3 Try to address the potential buffer overflows 2012-09-29 11:57:41 +02:00
Bastien Dejean
e1330bfc34 Complete _NET_SUPPORTED root property 2012-09-28 13:58:03 +02:00
Bastien Dejean
5df99a71ed Removed the Lua dependency 2012-09-27 10:46:04 +02:00
Bastien Dejean
5ca8e69d02 Made BSPWM_SOCKET definition optional 2012-09-24 11:00:35 +02:00
Bastien Dejean
cfa333e214 Resize floating windows with the mouse 2012-09-22 16:32:35 +02:00
Bastien Dejean
e81bb851be Move floating windows with the mouse, fix born_as 2012-09-22 15:10:59 +02:00
Bastien Dejean
3d95580282 Pseudo manual insertion for floating windows 2012-09-22 12:16:46 +02:00
Bastien Dejean
d5cb36c31f Show / hide wrappers should make unmap_notify work 2012-09-21 19:05:42 +02:00