Commit graph

1047 commits

Author SHA1 Message Date
Bastien Dejean
f17cee7afd Merge pull request #305 from Vrakfall/master
Load sxhkd in example bspwmrc
2015-11-09 15:10:14 +01:00
Bastien Dejean
d98c3d17ae Document and homogenize subscriber events 2015-11-09 15:00:47 +01:00
Vrakfall
400cb3af69 Loads sxhkd at bspwm startup. 2015-11-09 02:55:14 +01:00
Bastien Dejean
6fb04695d1 Restore the tiled rectangles of nodes and clients 2015-11-07 15:14:00 +01:00
Bastien Dejean
22e0f6ce5b Add --activate to window 2015-11-07 12:21:13 +01:00
Bastien Dejean
ba973e8fdf Fix regression introduced by f28f334
(Set `tiled_rectangle` in `apply_layout`.)
2015-11-07 11:57:47 +01:00
Bastien Dejean
10f264a04c Update TODO 2015-11-07 11:17:18 +01:00
Bastien Dejean
8c710c6c4f Update TODO 2015-11-07 11:08:18 +01:00
Bastien Dejean
3f30aad0d6 Fix typo 2015-11-07 10:58:34 +01:00
Bastien Dejean
36f740f98b Trust WM_TAKE_FOCUS but handle exceptions 2015-11-07 10:49:33 +01:00
Bastien Dejean
09b6d1bbe5 Neutralize obscuring windows in pseudo_focus 2015-11-06 23:10:23 +01:00
Bastien Dejean
52f7ff3dfd Handle stacking of unfocused windows
Put focused (resp. unfocused) window at the top (resp. bottom) of the
group of windows having the same stacking level.
2015-11-05 22:05:07 +01:00
Bastien Dejean
f28f33448f Make a clear distinction between states and flags 2015-11-05 14:00:49 +01:00
Bastien Dejean
f08e7073a2 Restore previous layer when exiting fullscreen 2015-11-03 09:42:09 +01:00
Bastien Dejean
516c9741f2 Limit layer inheritance to floating windows 2015-11-01 17:43:44 +01:00
Bastien Dejean
4ceced688a Restore natural constraints on fullscreen windows
Put fullscreen windows in the ABOVE layer by default.

Let *x*, and *y* be two windows in the same desktop. *y* is focused and
its fullscreen state is *on*. When *x* requests the focus: if *x* is
below *y*, then the fullscreen state of *y* is toggled.
2015-11-01 14:05:18 +01:00
Bastien Dejean
2f93d90d3d Add class and instance names to bspwm's windows 2015-10-31 22:19:17 +01:00
Bastien Dejean
569a34f261 Add general-purpose fullscreen daemon example 2015-10-29 10:59:28 +01:00
Bastien Dejean
9b6b30b1aa Add a fullscreen daemon for the panel example 2015-10-28 11:52:42 +01:00
Bastien Dejean
26f3f45084 Add extensive documentation for the new modifiers 2015-10-27 21:48:19 +01:00
Bastien Dejean
65bc79f0c0 Add a few selector modifiers 2015-10-27 21:26:09 +01:00
Bastien Dejean
40cdd64a7b Rewrite the stacking engine
Stacking now involves 3 layers: BELOW, NORMAL and ABOVE.

In each layers, floating windows are stacked above tiled windows.

The *stack* function is now extremely simple: it just inserts an item in
a sorted list, relying on *stack_cmp* to compare clients.

Fullscreen windows are no longer special.
2015-10-26 20:56:56 +01:00
Bastien Dejean
fc340110e5 Always update EWMH desktop names in monitor -d 2015-10-19 14:52:30 +02:00
Bastien Dejean
8f4763aa8e Merge pull request #295 from hasq/master
Update each window's EWMH desktop number in add_desktop
2015-10-11 21:09:15 +02:00
hasq
1e2a23f308 fix: update ewhm wm desktops after adding desktop 2015-10-11 16:28:50 +03:00
Ryan
c5e672e0c2 There's no window_gap setting at the monitor level
Fixes #287.
2015-08-21 20:29:33 +02:00
Bastien Dejean
fea7dbc26c Make the window_manage event more verbose 2015-08-17 12:02:16 +02:00
Bastien Dejean
3959428990 Emit all window_state events 2015-08-17 11:53:27 +02:00
Bastien Dejean
645ad38885 Unlink the socket before binding
This is a recurring request (the probability of removing an important
file is probably low).

Also: don't start the X setup unless we have a working socket.
2015-08-17 10:14:07 +02:00
Bastien Dejean
2b5cf373dd Simplify desktop entry file 2015-08-16 19:41:57 +02:00
Bastien Dejean
5f74f080b3 Just print the server response as is
Fixes #284.
2015-08-15 11:02:46 +02:00
Bastien Dejean
09c603a85e Don't add a new line at the end of partial lines
Fixes #253
2015-08-12 14:10:41 +02:00
Bastien Dejean
2dc91676f5 Merge pull request #283 from rye761/link-fix
Replaced broken old AUR link with up to date links to arch packages.
2015-08-10 10:31:08 +02:00
Ryan
0ef4069107 Replaced broken old AUR link with up to date links to arch packages. 2015-08-09 17:46:29 -06:00
Bastien Dejean
99974912c8 *leaf_monocle*: only consider tiled windows
Fixes #282.
2015-08-07 08:47:24 +02:00
Bastien Dejean
da98032364 Merge pull request #281 from fbergroth/leaf-monocle
New setting: leaf_monocle
2015-08-06 08:48:17 +02:00
Fredrik Bergroth
51e09ea11e New setting: leaf_monocle
Use monocle layout if there is a single node.
2015-08-05 23:20:07 +02:00
Bastien Dejean
dccb5e7be2 Add a few subscriber events 2015-08-01 14:37:15 +02:00
Bastien Dejean
639763c906 Reinstate the motion recorder for FFP
Because many clients (e.g. termite) prevent us (maybe unknowingly) from
capturing motion events on their windows, we're forced to create a
window for this sole purpose.

Grabbing the pointer isn't an option, because it forces us to consider
some of the enter notify events we should be ignoring.
2015-06-12 22:05:22 +02:00
Bastien Dejean
dfc03b5e26 Grab the pointer in order to capture motions 2015-06-11 10:07:01 +02:00
Bastien Dejean
36decdad62 Propagate FFP_MASK 2015-06-11 09:58:05 +02:00
Bastien Dejean
a1d07d6811 Make motion notify debug message more verbose 2015-06-10 09:41:24 +02:00
Bastien Dejean
939530c9bd Remove unused function 2015-06-09 20:56:05 +02:00
Bastien Dejean
8821c69527 Only honor FFP in reaction to pointer motion events
It appears that unmapping windows might generate undesirable enter
notify events. It can lead a very nasty bug where the focus constantly
switches between two desktops ad infinitum (cf. #268).
2015-06-09 20:39:00 +02:00
Bastien Dejean
c9925de182 Handle preselection in pseudo-automatic mode example 2015-06-09 13:34:31 +02:00
Bastien Dejean
237a78ab28 Add pseudo-automatic mode example 2015-06-09 12:33:53 +02:00
Bastien Dejean
5a8f28c3b5 Fix the return value of the SETSTR macro 2015-06-09 10:07:09 +02:00
Bastien Dejean
56895ab9ab Implement focus_follows_pointer via enter notify events
The implementation based on a motion recorder had bad side effects.
2015-06-06 18:25:20 +02:00
Bastien Dejean
b10ee71714 Add desktop --bubble
Fixes #257
2015-05-26 23:31:19 +02:00
Bastien Dejean
9dd581faaf Allow subscribers to choose what they listen to 2015-05-09 21:12:19 +02:00