]> git.lizzy.rs Git - bspwm.git/log
bspwm.git
6 years agoImprove Zsh completion
Junak [Wed, 11 Oct 2017 11:06:41 +0000 (14:06 +0300)]
Improve Zsh completion

6 years agoActivate before focusing during desktop transfer
Bastien Dejean [Fri, 13 Oct 2017 08:34:32 +0000 (10:34 +0200)]
Activate before focusing during desktop transfer

Fixes #728.

6 years agoFix gcc warning regarding vsnprintf
Bastien Dejean [Wed, 11 Oct 2017 13:07:03 +0000 (15:07 +0200)]
Fix gcc warning regarding vsnprintf

6 years agoPanel: differentiate focused and active desktops
Bastien Dejean [Wed, 11 Oct 2017 12:29:01 +0000 (14:29 +0200)]
Panel: differentiate focused and active desktops

6 years agoFix example panel report refresh
Bastien Dejean [Wed, 11 Oct 2017 12:00:46 +0000 (14:00 +0200)]
Fix example panel report refresh

6 years agoAlways reactivate when the active desktop is moved
Bastien Dejean [Sat, 7 Oct 2017 17:04:53 +0000 (19:04 +0200)]
Always reactivate when the active desktop is moved

Fixes #720.

6 years agoPass intermediate conseq. as arg. to ext. rules
Bastien Dejean [Fri, 29 Sep 2017 09:19:53 +0000 (11:19 +0200)]
Pass intermediate conseq. as arg. to ext. rules

Inside the external rules script, `eval "$4"` provides a convenient way
of accessing the current values.

6 years agoRestore old map/unmap behavior
Bastien Dejean [Thu, 21 Sep 2017 09:32:32 +0000 (11:32 +0200)]
Restore old map/unmap behavior

Fixes #708.

6 years agoHandle the removal of non-empty desktops
Bastien Dejean [Mon, 11 Sep 2017 15:27:01 +0000 (17:27 +0200)]
Handle the removal of non-empty desktops

6 years agoTake advantage of xdo's *wait for match* option
Bastien Dejean [Sat, 9 Sep 2017 09:24:53 +0000 (11:24 +0200)]
Take advantage of xdo's *wait for match* option

6 years agoAdd a special raw name selector
Bastien Dejean [Fri, 8 Sep 2017 19:23:53 +0000 (21:23 +0200)]
Add a special raw name selector

Fixes #704.

6 years agoKeep the focused item focused
Bastien Dejean [Thu, 7 Sep 2017 19:23:11 +0000 (21:23 +0200)]
Keep the focused item focused

Fixes #691.
Fixes #701.

6 years agoInterpret map / unmap as show / hide
Bastien Dejean [Thu, 7 Sep 2017 12:29:45 +0000 (14:29 +0200)]
Interpret map / unmap as show / hide

Fixes #618.
Fixes #682.

6 years agoAdd new monitor selector : pointed.
Justinien Bouron [Thu, 24 Aug 2017 19:04:23 +0000 (21:04 +0200)]
Add new monitor selector : pointed.

6 years agoMention forbidden characters
Bastien Dejean [Tue, 22 Aug 2017 10:03:23 +0000 (12:03 +0200)]
Mention forbidden characters

6 years agoDon't assume the uniqueness of desktop names
Bastien Dejean [Tue, 22 Aug 2017 09:54:15 +0000 (11:54 +0200)]
Don't assume the uniqueness of desktop names

Fixes #698.

6 years agoCarefully describe the desktop index descriptor
Bastien Dejean [Mon, 21 Aug 2017 08:13:06 +0000 (10:13 +0200)]
Carefully describe the desktop index descriptor

6 years agoAllow passing LDFLAGS
Jasper Lievisse Adriaanse [Thu, 10 Aug 2017 14:54:10 +0000 (16:54 +0200)]
Allow passing LDFLAGS

6 years agoRegenerate IDs in restore_tree
Bastien Dejean [Tue, 8 Aug 2017 07:13:59 +0000 (09:13 +0200)]
Regenerate IDs in restore_tree

Fixes #690.

6 years agoFix gcc warnings
László Várady [Mon, 31 Jul 2017 15:06:07 +0000 (17:06 +0200)]
Fix gcc warnings

warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

6 years agoAdd wm command: --reorder-monitors
Bastien Dejean [Sun, 30 Jul 2017 12:48:03 +0000 (14:48 +0200)]
Add wm command: --reorder-monitors

6 years agoFix monitor's -o long variant name
Bastien Dejean [Sun, 30 Jul 2017 12:23:29 +0000 (14:23 +0200)]
Fix monitor's -o long variant name

6 years agoPrevent invalid use of query's --names option
Bastien Dejean [Tue, 25 Jul 2017 18:45:18 +0000 (20:45 +0200)]
Prevent invalid use of query's --names option

6 years agoUse $XDG_RUNTIME_DIR as default temp. dir.
Bastien Dejean [Tue, 25 Jul 2017 17:06:21 +0000 (19:06 +0200)]
Use $XDG_RUNTIME_DIR as default temp. dir.

6 years agoDon't handle deprecated `click_to_focus` values
Bastien Dejean [Mon, 24 Jul 2017 19:03:52 +0000 (21:03 +0200)]
Don't handle deprecated `click_to_focus` values

6 years agoSimplify `tests/prelude`
Bastien Dejean [Mon, 24 Jul 2017 18:49:55 +0000 (20:49 +0200)]
Simplify `tests/prelude`

6 years agoRename node_{manage,unmanage} to node_{add,remove}
Bastien Dejean [Mon, 24 Jul 2017 18:39:10 +0000 (20:39 +0200)]
Rename node_{manage,unmanage} to node_{add,remove}

To be consistent with the other *_{add,remove} events.

The insertion point is also now given in third position, because it is
part of the coordinates.

6 years agoAdd an option to *subscribe*: --fifo
Bastien Dejean [Mon, 24 Jul 2017 18:28:22 +0000 (20:28 +0200)]
Add an option to *subscribe*: --fifo

6 years agoMake the *loop* and the *panel* examples compatible
Bastien Dejean [Sun, 23 Jul 2017 08:40:56 +0000 (10:40 +0200)]
Make the *loop* and the *panel* examples compatible

6 years agoImprove *subscribe*'s documentation
Bastien Dejean [Sun, 23 Jul 2017 08:33:15 +0000 (10:33 +0200)]
Improve *subscribe*'s documentation

6 years agoDiscard meaningless COUNT values
Bastien Dejean [Sun, 23 Jul 2017 08:27:08 +0000 (10:27 +0200)]
Discard meaningless COUNT values

6 years agoFix gcc warnings
Bastien Dejean [Sun, 23 Jul 2017 08:25:11 +0000 (10:25 +0200)]
Fix gcc warnings

6 years agoUse consistent variable names
Bastien Dejean [Sun, 23 Jul 2017 08:22:24 +0000 (10:22 +0200)]
Use consistent variable names

6 years agoMake the poll logic work on Linux
Bastien Dejean [Sun, 23 Jul 2017 08:03:45 +0000 (10:03 +0200)]
Make the poll logic work on Linux

On Darwin we need to set the `events` field to `POLLHUP`, otherwise we
won't receive `POLLHUP` events (this doesn't make sense: here's an
excerpt from the *poll* manual regarding `POLLHUP`: *This flag is output
only, and ignored if present in the input _events_ bitmask*).

On Linux, we get a `POLLERR` event instead of the `POLLHUP` event. And
we could set the `events` field to 0, but then it wouldn't work on silly
systems that requires `POLLHUP`.

6 years agobspc: Stop if stdout is closed
Bastien Dejean [Sat, 22 Jul 2017 20:28:13 +0000 (22:28 +0200)]
bspc: Stop if stdout is closed

Fixes #681.

6 years agoAdd an option to *subscribe*: --count
Bastien Dejean [Sat, 22 Jul 2017 14:55:31 +0000 (16:55 +0200)]
Add an option to *subscribe*: --count

6 years agoRemove obsolete shell completion
Bastien Dejean [Sun, 16 Jul 2017 19:33:20 +0000 (21:33 +0200)]
Remove obsolete shell completion

6 years agoVersion 0.9.3
Bastien Dejean [Fri, 14 Jul 2017 19:01:20 +0000 (21:01 +0200)]
Version 0.9.3

6 years ago*click_to_focus* is now a button name
Bastien Dejean [Wed, 12 Jul 2017 08:33:51 +0000 (10:33 +0200)]
*click_to_focus* is now a button name

Booleans are deprecated but still accepted.

6 years agoclick_to_focus should also apply to middle and right click
Matthijs Steen [Sun, 2 Jul 2017 22:57:33 +0000 (00:57 +0200)]
click_to_focus should also apply to middle and right click

6 years agoFix regression introduced by b181b5c
Bastien Dejean [Mon, 26 Jun 2017 19:55:21 +0000 (21:55 +0200)]
Fix regression introduced by b181b5c

Fixes #669.

7 years agoRemove deprecated "Encoding" key
Lesik [Sun, 18 Jun 2017 20:06:32 +0000 (22:06 +0200)]
Remove deprecated "Encoding" key

The "Encoding" key has been deprecated: https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#deprecated-items

7 years agoAdd rule consequence: rectangle
Justinien Bouron [Sun, 11 Jun 2017 19:38:06 +0000 (21:38 +0200)]
Add rule consequence: rectangle

7 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.

7 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"

7 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.

7 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.