Commit graph

1254 commits

Author SHA1 Message Date
Reginald Kennedy
978e4b1b00 Fix MINIMALBORDER on region focus cycling.
Fix quirk ordering in man page.
2015-04-19 18:31:29 +08:00
Yuri D'Elia
734f4a1b0e Add 'MINIMALBORDER' quirk to remove borders from floating/unfocused windows. 2015-04-16 22:14:22 +08:00
Reginald Kennedy
b95155ee80 Keep function prototypes in alphabetical order.
closes #92
2015-04-15 17:52:49 +08:00
Campbell Barton
4f61f95463 Resolve memory leaks on exit. 2015-04-15 17:52:17 +08:00
Reginald Kennedy
05be57f687 Fix segfault when attempting to switch workspace during startup. 2015-03-26 00:58:20 +08:00
Reginald Kennedy
6638851238 Add new option: warp_focus
Focus on the target window/workspace/region when clamped.
For example, when attempting to switch to a workspace that is mapped on
another region and workspace_clamp is enabled, focus on the region with
the target workspace.  Enable by setting to 1.

Rename visible_noswap to workspace_clamp and update man page:
Prevents workspaces from being swapped when attempting to switch to a
workspace that is mapped to another region.  Use warp_focus if you want
to focus on the region containing the workspace and warp_pointer if you
want to also send the pointer.  Enable by setting to 1.

closes #80.
2015-02-28 04:05:37 +08:00
Jonathan Armani
0a755545f7 Document visible_noswap and at it in spectrwm.conf 2015-02-28 03:59:25 +08:00
Jonathan Armani
aac2f2f4ba Add a new visible_noswap option that allow to not swap two visible workspace
This is useful in multi monitor setup, if you have workspace 1 on left
and workspace 2 on right monitor, trying to switch from 1 to 2 on left
region now does nothing.

This option can be enabled in combination with warp_pointer to send the
mouse pointer on the non-swapped workspace.
2015-02-28 03:59:25 +08:00
Reginald Kennedy
a4487a2d1d Add missing binds to keymapping files. 2015-02-28 03:59:19 +08:00
Reginald Kennedy
79df455b47 Revert "Mouse button mapping config option, by levaidaniel"
This reverts commit e0e24c4fa6.
2015-02-28 02:23:32 +08:00
Reginald Kennedy
7709861107 Change rg_move_(prev|next) and stack_balance to be unbound by default.
Some cleanup.
2015-02-25 08:49:31 +08:00
Yuri D'Elia
edfc16af9a Strip trailing padding with urgent_collapse 2015-02-17 12:59:19 -06:00
Marco Peereboom
10f544c6db ad yuri to copyrights 2015-02-17 12:53:34 -06:00
Yuri D'Elia
6705289444 Implement rg_move_prev/rg_move_next to move workspaces across regions/screens. 2015-02-17 12:52:30 -06:00
Yuri D'Elia
5a6f9473f2 Add 'maximize_hide_bar' to also hide the bar when maximing a window. 2015-02-17 12:48:59 -06:00
Yuri D'Elia
f78f487b20 Implement quirk NOFOCUSCYCLE to remove a window from the normal focus cycle. 2015-02-17 12:42:33 -06:00
Yuri D'Elia
5af4c4b26b Implement stack_balance and assign it to M-S-<h,l> 2015-02-17 12:38:37 -06:00
Campbell Barton
e0e24c4fa6 Mouse button mapping config option, by levaidaniel
With modification not to enforce correct buttons when applying configuration.
Instead warn if an invalid configuration is set after loading the configuration.
2015-02-17 12:29:16 -06:00
Marco Peereboom
3bae729314 adjust copyright dates 2015-02-04 07:32:25 -06:00
Marco Peereboom
46020d8781 Prepare for release 2.6.2. 2015-01-27 09:18:37 -06:00
Marco Peereboom
00913e0a93 Add Mod5 to support some more weird keyboards.
From Franck Lesage <fkl@rayservers.net>
2015-01-27 09:13:59 -06:00
shobute
99677cb82b Fixed bug in man page.
It was saying M-S-<Up> switches to the last visited workspace, but by
default it is M-a.
2014-12-30 10:45:59 +08:00
Marco Peereboom
b30775f505 osx also likes to see the extended build version 2014-11-18 16:24:49 -06:00
Marco Peereboom
71ee75f5c6 pull latest tag + commit digest 2014-11-18 16:24:27 -06:00
Reginald Kennedy
cbbe2779fa Prevent possible focus change on release of a pointer grab. 2014-11-18 11:36:26 +08:00
David Hill
ad878f12d8 Use poll(2) instead of select(2). 2014-11-04 11:34:25 -05:00
Marco Peereboom
dae745b013 Prepare for release 2.6.1. 2014-10-26 10:25:13 -05:00
Reginald Kennedy
89f0f8e1db Fix urgency indicator issue.
Only the last window in a workspace would register.

Fixes #83
2014-10-25 18:42:10 +08:00
Reginald Kennedy
6d31f1c543 Fix stacking issue on (re)start when managing unmanaged windows.
Fix always_raise.
2014-10-25 01:24:32 +08:00
Reginald Kennedy
e39267765c Fix focus_urgent.
fixes #81
2014-10-14 09:51:09 +08:00
Yuri D'Elia
1a4854383b Honour correctly "disable_border" in max_stack 2014-10-08 00:56:20 +08:00
Reginald Kennedy
33d4117279 Add note to man page regarding autorun and LD_PRELOAD.
closes #72
2014-10-06 10:57:28 +08:00
Reginald Kennedy
56313f2dcc Fix warp_pointer centering.
Pointer now centers on the following actions:
	swap window
	move/resize floated window
	stack reconfiguration
	cycle/flip layout
	maximize toggle

Fixes #71
2014-09-30 09:32:13 +08:00
Reginald Kennedy
829092cd42 Reorder LDFLAGS in Linux Makefile to work with --as-needed. 2014-09-30 09:29:40 +08:00
Andrea Bolognani
087a459347 Man page fixes, mostly spacing related. 2014-09-09 22:47:15 +02:00
Andrea Bolognani
9f53715989 Update Italian man page. 2014-09-05 00:10:34 +02:00
Andrea Bolognani
0063e6f13b Fix xscreensaver-command example. 2014-08-26 00:11:09 +02:00
Marco Peereboom
274cbd3209 Prepare for release 2.6.0. 2014-08-22 14:12:58 -05:00
Marco Peereboom
7a60eacaab Revert "cleanup baraction.sh"
This reverts commit d78d51c805.
2014-08-14 16:28:52 -05:00
Reginald Kennedy
18364e3dce Add new option: urgent_collapse
Enables hiding of placeholders in the urgency hint indicator for
workspaces that do not have any urgent windows.

Closes #60
2014-08-15 04:08:48 +08:00
Reginald Kennedy
638428ac07 Add new quirk: WS[n]
Forces a new window to appear on workspace n.

Closes #6
2014-08-15 04:04:42 +08:00
Andrea Bolognani
884794feec Improve Linux Makefile.
The following changes have been implemented:

  * make sure all standard (eg. $CFLAGS) variables are taken into
    account when compiling;
  * define default compilation flags in separate $MAINT_* variables
    so that user-defined variables can override them;
  * split default flags the expected way, eg. $CPPFLAGS instead of
    $CFLAGS for C preprocessor flags;
  * declare all dependencies, including the ones on header files;
  * install localized man pages in the corresponding locale-qualified
    directories, so that man(1) can pick them up automatically;
  * install .desktop file;
  * support $DESTDIR for downstream maintainers' convenience;
  * provide uninstall target;
  * get rid of symlink hackery.
2014-08-15 04:03:38 +08:00
Andrea Bolognani
ebadaee5f9 Improve English man page.
The improvements fall into three categories:

  1. typos / grammar;
  2. internal consistency, eg. the format of all options is described
     using the same conventions;
  3. better semantics, eg. using .Ar instead of .Pa for arguments.
2014-08-09 18:50:16 +02:00
Varun B Patil
d78d51c805 cleanup baraction.sh
1. Do not hardcode path to coreutils.
2. Do not pass variables to functions where not required.
3. Run top as a batch process to be able to grep its output.
2014-08-08 16:44:06 +08:00
Jean-Philippe Ouellet
9e034db344 Fix bug in baraction.sh that causes bar text to flicker every 20s. 2014-08-08 06:35:44 +08:00
Reginald Kennedy
ae2989db90 Add new option: warp_pointer.
Centers the mouse pointer on the focused window when using key bindings
to change focus, switch workspaces, change regions, etc.
2014-08-08 06:02:27 +08:00
Reginald Kennedy
54ebbac260 Convert all booleans to stdbool.h bool.
Add missing code to read java_workaround from config file.

Remove unused variables.

Rename s/xrandr/randr.
2014-07-29 17:32:22 +08:00
Reginald Kennedy
f986795d66 Fix stacking issue at (re)start when spawn_position = first or prev.
Begin using stdbool.h.
2014-07-29 15:03:32 +08:00
Jean-Philippe Ouellet
de157659cf fix typo s/fallowing/following/ 2014-06-17 14:08:37 -04:00
Reginald Kennedy
ca2de79bd2 Add new quirk IGNORESPAWNWS.
Ignore the spawn workspace when determining the initial workspace for a
new window.

resolves #11
2014-05-09 15:48:39 +08:00