Commit graph

1271 commits

Author SHA1 Message Date
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
Reginald Kennedy
8f2b071e3d Add new quirk IGNOREPID.
Ignore the PID when determining the initial workspace for a new window.
Especially useful for terminal windows that share a process.

closes #49
2014-05-09 15:48:39 +08:00
Reginald Kennedy
5e9a0de7ca Fix man page to use escape codes for aring å and pi π. 2014-05-09 15:48:39 +08:00
Marco Peereboom
af0542e503 Prepare for release 2.5.1. 2014-05-08 08:49:15 -05:00
Reginald Kennedy
2c9a693ca9 Fix segfault when loading "layout" with non-zero parameters.
This affected multi-region. stack() must be called after the region bars
are created.

Fix layout entry in man page.

Fixes #38
2014-03-21 01:48:06 +08:00
Reginald Kennedy
d2cf9769ea Improve stacking for windows with multiple transients.
Fix hang in fullscreen layout when a window has multiple transients.

Fix focus_(prev|next) for windows with multiple transients.

Add a missing queue.h macro to Linux util.h.
2014-03-12 10:02:04 +08:00
Reginald Kennedy
332906d454 Set stacking order when setting up a new status bar.
Fixes stacking issues that can arise on a randr screenchange event.
2014-03-08 06:50:08 +08:00
Reginald Kennedy
b5b9fa3388 Fix segfault in fullscreen layout when a window with transient(s) unmap. 2014-03-07 23:44:39 +08:00
Reginald Kennedy
91f1a47639 Add default maximize_toggle binding to man page. 2014-02-27 09:05:52 +08:00
Reginald Kennedy
2f1d83807d Add clarification for the 'name' option to man page.
Remove stray new paragraph macro in man page.

Closes #33 and closes #34
2014-02-27 09:05:40 +08:00
Marco Peereboom
a2cd068485 Prepare for release 2.5.0. 2014-02-26 08:45:42 -06:00
Reginald Kennedy
c7dc4771c9 Fix text rendering issue in search_win.
The depth of the indicator window must match the depth of the allocated
text color.  To ensure this is always the case, copy from root instead
of parent.
2014-02-26 12:48:26 +08:00
Reginald Kennedy
870f90b273 Ignore EnterNotify when entering from an inferior window.
Fixes #28
2014-02-26 12:48:26 +08:00
Reginald Kennedy
78cac56aec Fix floating windows remaining borderless after being fullscreen.
Fixes #32
2014-02-20 13:22:08 +08:00
Reginald Kennedy
b015891a95 Fix window border colors when moving windows to hidden workspaces.
Fixes #31
2014-02-20 12:27:50 +08:00
Reginald Kennedy
3677d289e8 Fix typo in man page. 2014-02-20 11:52:35 +08:00
Reginald Kennedy
a6032ff131 Add new OBEYAPPFOCUSREQ quirk.
When an application requests focus on the window via a
_NET_ACTIVE_WINDOW client message (source indication of 1), comply with
the request.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
9c6fb4c472 Fix segfault when attempting to set a color on a non-existent screen.
Show error instead of exiting when screen index is invalid.

Cleanup setconfcolor() and setscreencolor().

Fix warning.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
f52df6cff1 Deny _NET_ACTIVE_WINDOW ClientMessages with a source type of 'normal'.
Focus change requests that are not a result of direct user action are
ignored.  Requests from applications that use the old EWMH specification
such as wmctrl(1) are still accepted.

Fixes #28
2014-02-07 23:37:39 +08:00
Reginald Kennedy
585edea31e Rename variables that shadow global declarations.
Fix some typos.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
3a8ade46f6 Add color_focus_maximized and color_unfocus_maximized config options.
Sets border colors on maximized windows.  Defaults to the value of
color_focus and color_unfocus, respectively.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
80b6156fc1 Add new reorder stack action.
Ignore key press events while moving/resizing.

Fix configurerequest resize on transients.

Add stacking order debug messages.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
46d8ea00ad Add support for _NET_WM_DESKTOP client message.
Grab windows after creating bars.

Fix move floater to max_stack.

Disable floating_toggle on fullscreen layout.

Fix some stacking issues.

Some cleanup.

Fixes #9
2014-02-07 23:37:39 +08:00
Reginald Kennedy
57bfbfcfaa Add 'name' configuration option.
Set name of workspace at start-of-day.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
09e555187c Add support for _NET_DESKTOP_GEOMETRY and _NET_DESKTOP_VIEWPORT. 2014-02-07 23:37:39 +08:00
Reginald Kennedy
7d450eab18 Add support for _NET_RESTACK_WINDOW.
Fix support for _NET_WM_NAME.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
db56f5244f Improve support for Extended Window Manager Hints (EWMH).
Add support for _NET_CURRENT DESKTOP.

Add support for _NET_DESKTOP_NAMES.

Add support for _NET_NUMBER_OF_DESKTOPS.

Add support for _NET_CLIENT_LIST.
Windows are sorted according to _NET_CLIENT_LIST at start.

Change iconify to use _NET_WM_STATE_HIDDEN instead of _SWM_ICONIC.

Add _NET_WM_FULL_PLACEMENT to _NET_SUPPORTED.

Improve handling of _NET_WM_STATE_FULLSCREEN.

Improve general handling of EWMH.

Fix focus issues when a window maps/unmaps on an unfocused region.

Fix calls to get property length that did not adjust for item size.

Fix stacking issues.

Fix segfault.

Disable swapwin on fullscreen layout.

Remove floating property from ws_win struct.

Add new macros for accessing ewmh_flags.

Initialize variables that should be initialized.

Fix some formatting.

Improve debug output.

Closes #1 and closes #20
2014-02-07 23:37:39 +08:00
Reginald Kennedy
28dbf3c66e Add new maximize_toggle action.
Modify floating indicator to also show 'm' for maximized state.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
857580b3ae Revert 2 commits to simplify merge.
0847b1d8e4
"oops, killed a d on the way out"

d600683a5e
"please OCD a little"
2014-02-07 23:36:41 +08:00
Marco Peereboom
35fc99381f make osx use xquartz instead 2014-02-07 09:25:04 -06:00
Marco Peereboom
0847b1d8e4 oops, killed a d on the way out 2014-02-07 08:25:59 -06:00
Marco Peereboom
d600683a5e please OCD a little 2014-02-07 08:24:38 -06:00
Reginald Kennedy
56230c5c16 Fix quirk matching of windows missing WM_CLASS.
From: Yuri D'Elia <wavexx@thregr.org>
(Note: Modified styling and skipped the addition of a default quirk.)
2013-12-04 15:37:16 +08:00
Reginald Kennedy
b397ce68dc Fix LD_PRELOAD error on Linux.
On 64-bit Linux systems, if LD_PRELOAD isn't a relative/absolute
pathname to libswmhack.so, then ld.so attempts to load a 32-bit version
for 32-bit programs.  This produces an error message.  The solution is
to either build and install a 32-bit libswmhack.so.0.0 or use an
absolute/relative path so that ld.so only loads libswmhack.so for 64-bit
binaries.

Fix Makefiles to set variables before they are referenced.
2013-12-02 23:47:02 +08:00