Commit graph

1077 commits

Author SHA1 Message Date
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
Bastien Dejean
b15c3684ce Merge pull request #243 from buztard/force-installation
Force installation of bsp{wm,c}
2015-05-02 18:42:12 +02:00
Bastian Winkler
ee3ec76814 Force installation of bsp{wm,c} 2015-05-02 16:07:23 +02:00
Bastien Dejean
a172aea618 Rewrite the handling of overlapping monitors 2015-04-27 11:03:08 +02:00
Bastien Dejean
f3ca2aac29 Don't try to merge a monitor into NULL 2015-04-26 14:37:30 +02:00
Bastien Dejean
803392e985 sxhkdrc: grab pointer synchronously 2015-04-06 09:07:02 +02:00
Bastien Dejean
66b9a349d1 Update TODO 2015-04-05 17:40:19 +02:00
Bastien Dejean
dcbfe86dc6 Update examples to reflect changes in sxhkd 2015-04-05 17:38:08 +02:00
Bastien Dejean
8be5903955 Version 0.9 2015-03-20 22:29:14 +01:00
Bastien Dejean
ed4057b967 Loop example: fix indentation 2015-03-17 08:59:19 +01:00
Bastien Dejean
b0d5313ff4 Merge pull request #225 from iskatu/fix/loop-example
Loop example: Saving stack correctly
2015-03-17 08:56:46 +01:00
iskatu
ff0399a1eb Loop example: Saving stack correctly 2015-03-17 00:16:24 +01:00
Bastien Dejean
02097a246b Merge pull request #223 from yate/bar-to-lemonbar
Rename bar to lemonbar
2015-03-16 20:04:48 +01:00
yate
99d42cff6d Rename bar to lemonbar
[Bar was renamed](72106b17b1) so this example needs to be updated
2015-03-16 14:43:55 -04:00
Bastien Dejean
be7d768586 Update TODO 2015-02-23 11:07:10 +01:00
Bastien Dejean
e9611ded0b Process errors delivered on the event loop
Cf. xcb-requests(3).
2015-02-22 11:34:19 +01:00
Bastien Dejean
931a519947 Don't try to set the split ratio of NULL
Fixes #215
2015-02-22 10:19:24 +01:00
Bastien Dejean
9f2065540e Add rule consequence: split_ratio
Fixes #214
2015-02-21 10:14:27 +01:00
Bastien Dejean
5c1f76fdd6 Be verbose regarding broken connections 2015-02-09 13:56:46 +01:00
Bastien Dejean
b0e8dd383e Fix code block formatting 2015-02-05 10:44:07 +01:00
Bastien Dejean
5f61cbb8f6 Update debugging instructions 2015-02-05 10:42:28 +01:00