]> git.lizzy.rs Git - bspwm.git/log
bspwm.git
6 years agoAdd rule consequence: rectangle
Justinien Bouron [Sun, 11 Jun 2017 19:38:06 +0000 (21:38 +0200)]
Add rule consequence: rectangle

6 years agoRefactor : remove code duplication + modularize apply_rule. Enfore coding conventions.
Justinien Bouron [Thu, 8 Jun 2017 22:05:54 +0000 (00:05 +0200)]
Refactor : remove code duplication + modularize apply_rule. Enfore coding conventions.

6 years agoFix spelling in wm subcommand error message
fluffywaffles [Wed, 7 Jun 2017 18:03:05 +0000 (13:03 -0500)]
Fix spelling in wm subcommand error message

"Unkown" should be "Unknown"

6 years agoAutomatically fix the monitor ordering
Bastien Dejean [Wed, 7 Jun 2017 17:28:56 +0000 (19:28 +0200)]
Automatically fix the monitor ordering

Fixes #654.

6 years agoFix ordering of overlapping rectangles
Bastien Dejean [Wed, 7 Jun 2017 17:27:06 +0000 (19:27 +0200)]
Fix ordering of overlapping rectangles

7 years agoAdd setting: directional_focus_tightness
Bastien Dejean [Sun, 4 Jun 2017 08:25:11 +0000 (10:25 +0200)]
Add setting: directional_focus_tightness

7 years agoFix memory leak in register_events
Justinien Bouron [Fri, 2 Jun 2017 19:27:06 +0000 (21:27 +0200)]
Fix memory leak in register_events

7 years agoDiscard identical rectangles in on_dir_side
Bastien Dejean [Sat, 3 Jun 2017 19:09:51 +0000 (21:09 +0200)]
Discard identical rectangles in on_dir_side

7 years agoRevert "Tighten the notion of being on the DIR side of"
Bastien Dejean [Sat, 3 Jun 2017 18:54:43 +0000 (20:54 +0200)]
Revert "Tighten the notion of being on the DIR side of"

This reverts commit 7561be48e38e183786544a72d31bf7ee586d7b8a.

7 years agoexport environment to configuration file
Vincent Pasquier [Thu, 1 Jun 2017 20:03:00 +0000 (22:03 +0200)]
export environment to configuration file

7 years agoTighten the notion of being on the DIR side of
Bastien Dejean [Sat, 27 May 2017 17:19:36 +0000 (19:19 +0200)]
Tighten the notion of being on the DIR side of

Fixes #650.

7 years agoDon't assume any key ordering when restoring state
Bastien Dejean [Fri, 26 May 2017 08:16:02 +0000 (10:16 +0200)]
Don't assume any key ordering when restoring state

Fixes #649.

7 years agocast terminating NULL to (char *) in execl() call
Olmo Kramer [Fri, 21 Apr 2017 06:29:46 +0000 (08:29 +0200)]
cast terminating NULL to (char *) in execl() call

Just randomly happened upon this, but the Linux Programmer's Manual states:
```
$ man 3 execl

The const char *arg and subsequent ellipses in the execl(), execlp(), and execle() functions can be thought of as arg0, arg1, ..., argn.   ... The list of arguments must be terminated by a null pointer, and, since these are variadic functions, this pointer must be cast (char *) NULL.
```

7 years agoDon't try to set the layer of an internal node
Bastien Dejean [Thu, 20 Apr 2017 18:14:14 +0000 (20:14 +0200)]
Don't try to set the layer of an internal node

7 years agoFail in the absence of commands
Bastien Dejean [Thu, 20 Apr 2017 09:21:42 +0000 (11:21 +0200)]
Fail in the absence of commands

7 years agoFix inaccurate split ratio calculation
László Várady [Sat, 4 Mar 2017 23:36:37 +0000 (00:36 +0100)]
Fix inaccurate split ratio calculation

7 years agoborderless_monocle: include pseudo-tiled windows
Bastien Dejean [Mon, 27 Feb 2017 13:21:57 +0000 (14:21 +0100)]
borderless_monocle: include pseudo-tiled windows

Fixes #617.

7 years agoFix dmenu_run invocation in example sxhkdrc
Bastien Dejean [Wed, 15 Feb 2017 12:25:46 +0000 (13:25 +0100)]
Fix dmenu_run invocation in example sxhkdrc

7 years agoConsolidate circulate_leaves
Bastien Dejean [Sat, 11 Feb 2017 15:32:19 +0000 (16:32 +0100)]
Consolidate circulate_leaves

Fixes #614.

7 years agoAlways restore border consistency in swap_node
Bastien Dejean [Sat, 11 Feb 2017 15:22:09 +0000 (16:22 +0100)]
Always restore border consistency in swap_node

7 years agoFix gcc warnings
Bastien Dejean [Fri, 10 Feb 2017 21:10:44 +0000 (22:10 +0100)]
Fix gcc warnings

7 years agoFix link to Linux coding style
Olmo Kramer [Thu, 2 Feb 2017 12:56:07 +0000 (13:56 +0100)]
Fix link to Linux coding style

7 years agoEnforce a minimum node rectangle size
Bastien Dejean [Thu, 9 Feb 2017 13:28:07 +0000 (14:28 +0100)]
Enforce a minimum node rectangle size

Fixes #527.

7 years agoDon't need to enumerate
Bastien Dejean [Sat, 4 Feb 2017 10:50:31 +0000 (11:50 +0100)]
Don't need to enumerate

7 years agoAdd receptacles example
Bastien Dejean [Sat, 4 Feb 2017 10:44:48 +0000 (11:44 +0100)]
Add receptacles example

7 years agoMake DIR be faithfull to the *right-window* spec
Bastien Dejean [Thu, 2 Feb 2017 14:46:03 +0000 (15:46 +0100)]
Make DIR be faithfull to the *right-window* spec

Unfortunately, dcd62ea7f333d799e60a5161d401704eb34d944b broke the DIR
descriptor.

Example:

+-------+-------+
|       | b | c |
|   a   |-------|
|   ^   |   d   |
+-------+-------+

If `a` is focused and `d` is the most recently focused node, `east` will
resolve to `b` instead of `d`, because the center `b` is closer to the
center of `a` than `d`.

Another problem is that, given a rectangle (x, y, w, h), the point
(x+w, y+h) was considered to be inside of it: this created false
positives in on_dir_side.

Fixes #594.

7 years agoHandle NULL node references for DIR and CYCLE_DIR
Bastien Dejean [Tue, 31 Jan 2017 16:28:47 +0000 (17:28 +0100)]
Handle NULL node references for DIR and CYCLE_DIR

Fixes #608.

7 years agoFix non-matching undefs
Bastien Dejean [Tue, 31 Jan 2017 14:53:47 +0000 (15:53 +0100)]
Fix non-matching undefs

7 years agoAllow (+|-)fraction in "node --ratio" command
Olmo Kramer [Mon, 30 Jan 2017 16:43:56 +0000 (17:43 +0100)]
Allow (+|-)fraction in "node --ratio" command

7 years agoRevert "Allow NULL reference nodes in find_closest_node"
Bastien Dejean [Sat, 28 Jan 2017 21:35:39 +0000 (22:35 +0100)]
Revert "Allow NULL reference nodes in find_closest_node"

This might unfortunately lead to an infinite loop.

7 years agoAllow NULL reference nodes in find_closest_node
Bastien Dejean [Sat, 28 Jan 2017 21:29:18 +0000 (22:29 +0100)]
Allow NULL reference nodes in find_closest_node

Fixes #608.

7 years agoFix a scan-build warning
Bastien Dejean [Fri, 27 Jan 2017 20:57:18 +0000 (21:57 +0100)]
Fix a scan-build warning

7 years agoRevisit the motion recorder approach to FFP
Bastien Dejean [Fri, 27 Jan 2017 20:32:05 +0000 (21:32 +0100)]
Revisit the motion recorder approach to FFP

Fixes #485.

7 years agoUpdate the format of xtitle in the example panel
Bastien Dejean [Sun, 15 Jan 2017 19:25:12 +0000 (20:25 +0100)]
Update the format of xtitle in the example panel

7 years agoMove source files to src/
Bastien Dejean [Fri, 13 Jan 2017 09:42:00 +0000 (10:42 +0100)]
Move source files to src/

7 years agodoc: Relate presel direction to insertion mode
Daniel Lublin [Tue, 20 Dec 2016 22:31:50 +0000 (23:31 +0100)]
doc: Relate presel direction to insertion mode

7 years agoDon't install an examples dir in an examples dir
Daniel Lublin [Wed, 14 Dec 2016 19:46:58 +0000 (20:46 +0100)]
Don't install an examples dir in an examples dir

A second run of make install would install an examples dir in an already existing examples dir.

7 years agoAcknowledge the current padding in struts handling
Bastien Dejean [Fri, 9 Dec 2016 19:38:58 +0000 (20:38 +0100)]
Acknowledge the current padding in struts handling

Fixes #589.

7 years agoSet the border color of all the managed windows
Bastien Dejean [Wed, 7 Dec 2016 21:34:30 +0000 (22:34 +0100)]
Set the border color of all the managed windows

Fixes #588.

7 years agoSupport EWMH property _NET_DESKTOP_VIEWPORT
Michael Carlberg [Thu, 1 Dec 2016 04:56:28 +0000 (05:56 +0100)]
Support EWMH property _NET_DESKTOP_VIEWPORT

Add support for the EWMH property _NET_DESKTOP_VIEWPORT.
https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317690112

7 years agoRearrange all desktops after struts modification
Bastien Dejean [Thu, 1 Dec 2016 16:49:41 +0000 (17:49 +0100)]
Rearrange all desktops after struts modification

Fixes #579.

7 years agoStacking isn't focusing
Bastien Dejean [Wed, 23 Nov 2016 19:41:27 +0000 (20:41 +0100)]
Stacking isn't focusing

Fixes #576.

7 years agoGrab buttons on client windows
Bastien Dejean [Wed, 23 Nov 2016 19:31:59 +0000 (20:31 +0100)]
Grab buttons on client windows

Fixes #578.

7 years agoOnly consider struts values that make sense
Bastien Dejean [Fri, 18 Nov 2016 17:03:43 +0000 (18:03 +0100)]
Only consider struts values that make sense

7 years agoAdd setting: swallow_first_click
Bastien Dejean [Thu, 17 Nov 2016 17:07:26 +0000 (18:07 +0100)]
Add setting: swallow_first_click

7 years agoUpdate screen_{width,height} when the root changes
Bastien Dejean [Mon, 14 Nov 2016 19:42:54 +0000 (20:42 +0100)]
Update screen_{width,height} when the root changes

7 years agoEliminate false positives in ewmh_handle_struts
Bastien Dejean [Mon, 14 Nov 2016 12:21:58 +0000 (13:21 +0100)]
Eliminate false positives in ewmh_handle_struts

7 years agoRemove rule key implication from config command.
Nathan Isom [Mon, 14 Nov 2016 03:22:05 +0000 (21:22 -0600)]
Remove rule key implication from config command.

7 years agoDon't replay the initial click in button_press
Bastien Dejean [Mon, 14 Nov 2016 09:38:46 +0000 (10:38 +0100)]
Don't replay the initial click in button_press

When `click_to_focus` is set, clicking on a window should simply focus
that window and not trigger some random action that might be attached to
an interactive element under the pointer.

7 years agoDiscard ref descendants in find_nearest_neighbor
Bastien Dejean [Sat, 12 Nov 2016 10:36:37 +0000 (11:36 +0100)]
Discard ref descendants in find_nearest_neighbor

Fixes #566.

7 years agoFix the description of DESKTOP_SEL's .local
Bastien Dejean [Sat, 12 Nov 2016 09:35:25 +0000 (10:35 +0100)]
Fix the description of DESKTOP_SEL's .local

7 years agoRestrain cycling in the example sxhkdrc
Bastien Dejean [Sat, 12 Nov 2016 09:33:19 +0000 (10:33 +0100)]
Restrain cycling in the example sxhkdrc

Fixes #565.

7 years agoCall activate_desktop in activate_node
Bastien Dejean [Sat, 12 Nov 2016 09:05:37 +0000 (10:05 +0100)]
Call activate_desktop in activate_node

Fixes #567.

7 years agoAdd the `--names` option to the `query` domain
Bastien Dejean [Fri, 4 Nov 2016 09:28:24 +0000 (10:28 +0100)]
Add the `--names` option to the `query` domain

Fixes #562.

7 years agoVersion 0.9.2
Bastien Dejean [Sun, 30 Oct 2016 12:25:26 +0000 (13:25 +0100)]
Version 0.9.2

7 years agoHandle _NET_WM_STRUT_PARTIAL
Bastien Dejean [Sat, 22 Oct 2016 11:01:16 +0000 (13:01 +0200)]
Handle _NET_WM_STRUT_PARTIAL

Fixes #487.

7 years agoHandle the border width setting for internal nodes
Bastien Dejean [Tue, 11 Oct 2016 16:37:08 +0000 (18:37 +0200)]
Handle the border width setting for internal nodes

Fixes #547.

7 years agoAdd an event for pointer actions
Thilo Wischmeyer [Wed, 21 Sep 2016 20:39:15 +0000 (22:39 +0200)]
Add an event for pointer actions

Fixes #536.

7 years agoSet WM_STATE when managing/unmanaging windows
Bastien Dejean [Tue, 27 Sep 2016 18:56:44 +0000 (20:56 +0200)]
Set WM_STATE when managing/unmanaging windows

Fixes #222.

7 years agoAdd node modifier: active
Bastien Dejean [Thu, 22 Sep 2016 20:30:38 +0000 (22:30 +0200)]
Add node modifier: active

7 years agoReplace malloc with calloc
nfnty [Sun, 20 Mar 2016 01:59:22 +0000 (02:59 +0100)]
Replace malloc with calloc

7 years agoFix neighbor DIR selection for overlapping windows
nfnty [Thu, 11 Aug 2016 19:02:56 +0000 (21:02 +0200)]
Fix neighbor DIR selection for overlapping windows

Use center as origin.

7 years agoFix memory leaks
nfnty [Thu, 11 Aug 2016 08:11:44 +0000 (10:11 +0200)]
Fix memory leaks

7 years agoFail when there's no fence to move
Bastien Dejean [Fri, 12 Aug 2016 07:26:38 +0000 (09:26 +0200)]
Fail when there's no fence to move

7 years agoThe pointer might move between empty monitors
Bastien Dejean [Thu, 4 Aug 2016 13:08:19 +0000 (15:08 +0200)]
The pointer might move between empty monitors

Fixes #523.

7 years agoFirst connect to X, then create the socket
Bastien Dejean [Sun, 17 Jul 2016 14:26:33 +0000 (16:26 +0200)]
First connect to X, then create the socket

Fixes #519.

7 years agoDon't leave dangling pointers in the focus history
Bastien Dejean [Sun, 17 Jul 2016 13:59:29 +0000 (15:59 +0200)]
Don't leave dangling pointers in the focus history

Fixes #518.

7 years agoSkip hidden leaves in tiled_count
Bastien Dejean [Sat, 16 Jul 2016 07:07:19 +0000 (09:07 +0200)]
Skip hidden leaves in tiled_count

Fixes #517.

7 years agoDon't hide sticky nodes in transfer_node
Bastien Dejean [Fri, 15 Jul 2016 19:02:59 +0000 (21:02 +0200)]
Don't hide sticky nodes in transfer_node

Fixes #516.

7 years agoMap windows before setting the input focus
Bastien Dejean [Thu, 14 Jul 2016 16:45:12 +0000 (18:45 +0200)]
Map windows before setting the input focus

Fixes #514.

7 years agoOnly alter last_{state,layer} in set_{state,layer}
Bastien Dejean [Sun, 10 Jul 2016 18:44:10 +0000 (20:44 +0200)]
Only alter last_{state,layer} in set_{state,layer}

Fixes #513.

7 years agoFix link to the K&R C book
Bastien Dejean [Sat, 9 Jul 2016 17:14:45 +0000 (19:14 +0200)]
Fix link to the K&R C book

Fixes #512.

7 years agoFix focus history as soon as possible
Bastien Dejean [Sun, 26 Jun 2016 14:58:52 +0000 (16:58 +0200)]
Fix focus history as soon as possible

Fixes #509.

8 years agoFix missing new line in border_width response
Bastien Dejean [Sat, 28 May 2016 07:45:40 +0000 (09:45 +0200)]
Fix missing new line in border_width response

8 years agoAdd setting: pointer_motion_interval
Bastien Dejean [Sat, 28 May 2016 07:43:05 +0000 (09:43 +0200)]
Add setting: pointer_motion_interval

Fixes #482.

8 years agoAdd current logo
Bastien Dejean [Fri, 27 May 2016 10:12:41 +0000 (12:12 +0200)]
Add current logo

Fixes #495.

8 years agoProvide computed selectors for the external rules
Bastien Dejean [Tue, 24 May 2016 14:32:40 +0000 (16:32 +0200)]
Provide computed selectors for the external rules

It might be useful to know what the computed monitor, desktop and node
consequences of the built-in phase are when we enter the external phase
of the rule processing mechanism.

8 years agoFix null pointer dereference in restore_tree
Bastien Dejean [Sun, 22 May 2016 14:56:07 +0000 (16:56 +0200)]
Fix null pointer dereference in restore_tree

8 years agoProvide a way to disable built-in pointer bindings
Bastien Dejean [Sat, 21 May 2016 19:31:14 +0000 (21:31 +0200)]
Provide a way to disable built-in pointer bindings

Fixes #490.

8 years agoAccept an optional reference in all the selectors
Bastien Dejean [Fri, 20 May 2016 09:41:36 +0000 (11:41 +0200)]
Accept an optional reference in all the selectors

Fixes #486.

8 years agoStart with the focused node in @DESKTOP_SEL:
Bastien Dejean [Fri, 20 May 2016 09:10:19 +0000 (11:10 +0200)]
Start with the focused node in @DESKTOP_SEL:

8 years agoResolve node paths relative to the given reference
Bastien Dejean [Thu, 19 May 2016 19:26:20 +0000 (21:26 +0200)]
Resolve node paths relative to the given reference

8 years agoCatch more invalid paths in node_from_desc
Bastien Dejean [Thu, 19 May 2016 19:10:10 +0000 (21:10 +0200)]
Catch more invalid paths in node_from_desc

For example, `query -N -n @/parent` will now fail.

8 years agoSometimes a break isn't enough
Bastien Dejean [Thu, 19 May 2016 18:18:56 +0000 (20:18 +0200)]
Sometimes a break isn't enough

Fixes #488.

8 years agoMake the *focused* modifiers less restrictive
Bastien Dejean [Wed, 18 May 2016 19:29:32 +0000 (21:29 +0200)]
Make the *focused* modifiers less restrictive

Example: `bspc query -N -d '^3' -n .focused` will return the ID of the
focused node of the third desktop.

8 years agoSet the WM_NAME property of each monitor's root
Bastien Dejean [Wed, 18 May 2016 19:13:27 +0000 (21:13 +0200)]
Set the WM_NAME property of each monitor's root

For example, `xdo id -N Bspwm -n root -a LVDS1` now returns the ID of
the root window of the monitor named LVDS1.

8 years agoDon't show presel feedbacks for the monocle layout
Bastien Dejean [Mon, 16 May 2016 08:33:22 +0000 (10:33 +0200)]
Don't show presel feedbacks for the monocle layout

Fixes #367.

8 years agoClose file descriptor in read_string
Bastien Dejean [Sat, 14 May 2016 15:56:34 +0000 (17:56 +0200)]
Close file descriptor in read_string

8 years agoFix memory leak in remove_node
Bastien Dejean [Sat, 14 May 2016 15:43:42 +0000 (17:43 +0200)]
Fix memory leak in remove_node

8 years agoDon't emit invalid desktop_focus events
Bastien Dejean [Fri, 13 May 2016 19:27:11 +0000 (21:27 +0200)]
Don't emit invalid desktop_focus events

8 years agoHandle sticky nodes in activate_desktop
Bastien Dejean [Fri, 13 May 2016 16:39:06 +0000 (18:39 +0200)]
Handle sticky nodes in activate_desktop

8 years agoAdd fish shell completion.
Nathan Isom [Wed, 11 May 2016 21:59:01 +0000 (16:59 -0500)]
Add fish shell completion.
fixes #459.

8 years agoAdd links to the Debian guide and packages
Bastien Dejean [Wed, 11 May 2016 07:57:36 +0000 (09:57 +0200)]
Add links to the Debian guide and packages

8 years agoAdd missing node_geometry events in track_pointer
Bastien Dejean [Tue, 10 May 2016 08:46:14 +0000 (10:46 +0200)]
Add missing node_geometry events in track_pointer

Fixes #472.

8 years agoDon't erase the parent too soon in unlink_node
Bastien Dejean [Tue, 10 May 2016 08:21:46 +0000 (10:21 +0200)]
Don't erase the parent too soon in unlink_node

Fixes #476.

8 years agoIgnore enter notify events in draw_presel_feedback
Bastien Dejean [Tue, 10 May 2016 07:48:17 +0000 (09:48 +0200)]
Ignore enter notify events in draw_presel_feedback

Fixes #474.

8 years agoDon't filter desktops in merge_monitors
Bastien Dejean [Mon, 9 May 2016 16:51:41 +0000 (18:51 +0200)]
Don't filter desktops in merge_monitors

Fixes #455.

8 years agoDon't use a domain target as reference
Bastien Dejean [Mon, 9 May 2016 16:43:03 +0000 (18:43 +0200)]
Don't use a domain target as reference

Otherwise, the behavior of, for example, `desktop prev -s next` is
unexpected.

8 years agoAdd node modifiers: {descendant,ancestor}_of
Bastien Dejean [Mon, 9 May 2016 14:55:31 +0000 (16:55 +0200)]
Add node modifiers: {descendant,ancestor}_of

Fixes #473.

8 years agoHandle failure of activate_desktop
Bastien Dejean [Mon, 9 May 2016 11:40:31 +0000 (13:40 +0200)]
Handle failure of activate_desktop