Commit graph

65 commits

Author SHA1 Message Date
Bastien Dejean
cc4492d9ca Remove --float-upcoming from control
The following:
    bspc control --float-upcoming
can now be expressed as:
    bspc rule -a \* --floating --one-shot
2013-09-17 11:40:18 +02:00
Bastien Dejean
9a9693545d Add new option for control: --float-upcoming 2013-09-16 13:36:52 +02:00
Bastien Dejean
f38f863d30 Handle the primary monitor 2013-09-09 15:25:26 +02:00
Bastien Dejean
387ece3688 Implement ICCCM's WM_TAKE_FOCUS behavior
Additionally, the `apply_shadow_property` was renamed to
`apply_floating_atom`.
2013-09-05 15:37:54 +02:00
Bastien Dejean
72b8431be0 Prevent input focus from being stolen
Example: if one chromium window is opened and a link is opened in
newsbeuter then chromium will steal the input focus (without explicitly
requesting focus via the proper EWMH message).
2013-07-30 14:53:44 +02:00
Bastien Dejean
2f4c9e9fd4 New option for bspwm: -c
In addition, the path of the default configuration file has changed.
2013-07-29 10:27:04 +02:00
Bastien Dejean
44414046b9 Don't raise windows via focus_follows_pointer 2013-07-15 20:28:28 +02:00
Bastien Dejean
8fd8521322 Rewrite message handling
The new message syntax:
- Provides 10 commands instead of 60.
- Allows multiple actions to be applied in one call.

The client now returns an non zero exit code when a message fails.

The `is_adjacent` function now handles vacant nodes.
2013-07-12 21:52:02 +02:00
Bastien Dejean
a6e90f472a Make split mode and direction local 2013-06-27 17:26:52 +02:00
Bastien Dejean
30f891fad5 Don't try to import monitors when RandR is off 2013-06-10 13:51:46 +02:00
Bastien Dejean
38b3f3531a Handle monitors via RandR 2013-05-29 08:35:13 +02:00
Bastien Dejean
42afe4ad11 New option for bspwm: -p STATUS_PREFIX 2013-04-02 19:46:16 +02:00
Bastien Dejean
829bc9b91f New setting: 'focus_follows_pointer' 2013-03-04 11:25:12 +01:00
Bastien Dejean
0acdab744c Remove setting: 'focus_follows_pointer'
It is impossible to make the feature work in every cases without
unwanted side effects, therefore it will only exists as a branch.
2013-03-04 11:19:24 +01:00
Bastien Dejean
6bfebaaf6b Focus follows pointer rewrite 2013-03-02 19:39:16 +01:00
Bastien Dejean
9bd1e7fff7 Merge branch 'master' into compton-shadow 2013-01-17 10:54:36 +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
e1e04bff2e Cursor pointer feedbacks for 'grab_pointer' 2013-01-10 17:59:22 +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
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
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
9426ed2941 Add support for the _COMPTON_SHADOW atom 2012-11-29 15:28:43 +01:00
Bastien Dejean
c0e3b0e93a Remove obsolete zombie handler 2012-10-23 17:31:45 +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
f0ab3e390e Merge branch 'develop' 2012-10-23 12:17:19 +02:00
Bastien Dejean
7825c8b059 New setting: 'focus_follow_mouse' 2012-10-22 12:21:12 +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
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
Bastien Dejean
c584da2cb8 Unmap notify handling is bogus 2012-09-21 17:39:22 +02:00
Bastien Dejean
2365ae77e7 Fix hang related to SIGCHLD 2012-09-18 19:18:02 +02:00
Bastien Dejean
24507288bf Numerous fixes 2012-09-18 17:21:04 +02:00
Bastien Dejean
b757724a57 Flush, EWMH, new events, presel border fix 2012-09-16 14:16:58 +02:00
Bastien Dejean
40f87f4349 Toggle fullscreen, cycle leaf, more messages 2012-09-12 14:56:51 +02:00
Bastien Dejean
48a07d40d9 A few messages 2012-09-11 16:29:43 +02:00