Andrea Bolognani [Mon, 25 Aug 2014 22:11:09 +0000 (00:11 +0200)]
Fix xscreensaver-command example.
Marco Peereboom [Fri, 22 Aug 2014 19:12:58 +0000 (14:12 -0500)]
Prepare for release 2.6.0.
Marco Peereboom [Thu, 14 Aug 2014 21:28:52 +0000 (16:28 -0500)]
Revert "cleanup baraction.sh"
This reverts commit
d78d51c80576d1afcf6bd1133f2acee91acbb7d6.
Reginald Kennedy [Thu, 14 Aug 2014 20:08:44 +0000 (04:08 +0800)]
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
Reginald Kennedy [Thu, 7 Aug 2014 18:53:29 +0000 (02:53 +0800)]
Add new quirk: WS[n]
Forces a new window to appear on workspace n.
Closes #6
Andrea Bolognani [Mon, 11 Aug 2014 20:59:21 +0000 (22:59 +0200)]
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.
Andrea Bolognani [Sat, 9 Aug 2014 16:50:16 +0000 (18:50 +0200)]
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.
Varun B Patil [Thu, 27 Mar 2014 10:08:49 +0000 (15:38 +0530)]
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.
Jean-Philippe Ouellet [Thu, 19 Jun 2014 05:08:03 +0000 (01:08 -0400)]
Fix bug in baraction.sh that causes bar text to flicker every 20s.
Reginald Kennedy [Mon, 28 Jul 2014 01:09:37 +0000 (09:09 +0800)]
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.
Reginald Kennedy [Tue, 29 Jul 2014 09:25:11 +0000 (17:25 +0800)]
Convert all booleans to stdbool.h bool.
Add missing code to read java_workaround from config file.
Remove unused variables.
Rename s/xrandr/randr.
Reginald Kennedy [Tue, 29 Jul 2014 06:46:03 +0000 (14:46 +0800)]
Fix stacking issue at (re)start when spawn_position = first or prev.
Begin using stdbool.h.
Jean-Philippe Ouellet [Tue, 17 Jun 2014 18:08:37 +0000 (14:08 -0400)]
fix typo s/fallowing/following/
Reginald Kennedy [Fri, 9 May 2014 06:43:40 +0000 (14:43 +0800)]
Add new quirk IGNORESPAWNWS.
Ignore the spawn workspace when determining the initial workspace for a
new window.
resolves #11
Reginald Kennedy [Fri, 9 May 2014 06:09:27 +0000 (14:09 +0800)]
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
Reginald Kennedy [Fri, 9 May 2014 07:17:11 +0000 (15:17 +0800)]
Fix man page to use escape codes for aring å and pi π.
Marco Peereboom [Thu, 8 May 2014 13:49:15 +0000 (08:49 -0500)]
Prepare for release 2.5.1.
Reginald Kennedy [Thu, 20 Mar 2014 16:51:32 +0000 (00:51 +0800)]
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
Reginald Kennedy [Tue, 11 Mar 2014 21:02:44 +0000 (05:02 +0800)]
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.
Reginald Kennedy [Fri, 7 Mar 2014 22:29:09 +0000 (06:29 +0800)]
Set stacking order when setting up a new status bar.
Fixes stacking issues that can arise on a randr screenchange event.
Reginald Kennedy [Fri, 7 Mar 2014 15:43:26 +0000 (23:43 +0800)]
Fix segfault in fullscreen layout when a window with transient(s) unmap.
Reginald Kennedy [Thu, 27 Feb 2014 01:05:52 +0000 (09:05 +0800)]
Add default maximize_toggle binding to man page.
Reginald Kennedy [Thu, 27 Feb 2014 01:01:08 +0000 (09:01 +0800)]
Add clarification for the 'name' option to man page.
Remove stray new paragraph macro in man page.
Closes #33 and closes #34
Marco Peereboom [Wed, 26 Feb 2014 14:45:42 +0000 (08:45 -0600)]
Prepare for release 2.5.0.
Reginald Kennedy [Wed, 26 Feb 2014 02:18:20 +0000 (10:18 +0800)]
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.
Reginald Kennedy [Tue, 25 Feb 2014 05:26:53 +0000 (13:26 +0800)]
Ignore EnterNotify when entering from an inferior window.
Fixes #28
Reginald Kennedy [Thu, 20 Feb 2014 04:29:11 +0000 (12:29 +0800)]
Fix floating windows remaining borderless after being fullscreen.
Fixes #32
Reginald Kennedy [Tue, 18 Feb 2014 02:40:38 +0000 (10:40 +0800)]
Fix window border colors when moving windows to hidden workspaces.
Fixes #31
Reginald Kennedy [Thu, 20 Feb 2014 02:47:47 +0000 (10:47 +0800)]
Fix typo in man page.
Reginald Kennedy [Fri, 13 Dec 2013 22:06:08 +0000 (06:06 +0800)]
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.
Reginald Kennedy [Fri, 13 Dec 2013 19:16:07 +0000 (03:16 +0800)]
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.
Reginald Kennedy [Thu, 12 Dec 2013 08:10:04 +0000 (16:10 +0800)]
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
Reginald Kennedy [Sat, 7 Dec 2013 07:19:38 +0000 (15:19 +0800)]
Rename variables that shadow global declarations.
Fix some typos.
Reginald Kennedy [Mon, 18 Nov 2013 00:53:38 +0000 (08:53 +0800)]
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.
Reginald Kennedy [Thu, 1 Aug 2013 00:57:29 +0000 (08:57 +0800)]
Add new reorder stack action.
Ignore key press events while moving/resizing.
Fix configurerequest resize on transients.
Add stacking order debug messages.
Reginald Kennedy [Tue, 30 Jul 2013 00:37:55 +0000 (08:37 +0800)]
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
Reginald Kennedy [Mon, 22 Jul 2013 07:24:53 +0000 (15:24 +0800)]
Add 'name' configuration option.
Set name of workspace at start-of-day.
Reginald Kennedy [Mon, 22 Jul 2013 04:13:59 +0000 (12:13 +0800)]
Add support for _NET_DESKTOP_GEOMETRY and _NET_DESKTOP_VIEWPORT.
Reginald Kennedy [Mon, 15 Jul 2013 00:58:42 +0000 (08:58 +0800)]
Add support for _NET_RESTACK_WINDOW.
Fix support for _NET_WM_NAME.
Reginald Kennedy [Mon, 6 May 2013 16:58:57 +0000 (00:58 +0800)]
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
Reginald Kennedy [Tue, 2 Oct 2012 15:53:37 +0000 (23:53 +0800)]
Add new maximize_toggle action.
Modify floating indicator to also show 'm' for maximized state.
Reginald Kennedy [Fri, 7 Feb 2014 15:34:08 +0000 (23:34 +0800)]
Revert 2 commits to simplify merge.
0847b1d8e4a234d87ba41504416f60a7a1e0f3c7
"oops, killed a d on the way out"
d600683a5ef379bce56265cc3ba7c33167bbd5d0
"please OCD a little"
Marco Peereboom [Fri, 7 Feb 2014 15:25:04 +0000 (09:25 -0600)]
make osx use xquartz instead
Marco Peereboom [Fri, 7 Feb 2014 14:25:59 +0000 (08:25 -0600)]
oops, killed a d on the way out
Marco Peereboom [Fri, 7 Feb 2014 14:24:38 +0000 (08:24 -0600)]
please OCD a little
Reginald Kennedy [Tue, 3 Dec 2013 18:19:35 +0000 (02:19 +0800)]
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.)
Reginald Kennedy [Mon, 2 Dec 2013 15:20:55 +0000 (23:20 +0800)]
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.
saturation [Mon, 18 Nov 2013 11:33:46 +0000 (13:33 +0200)]
Update Makefile
changed freetype path
Reginald Kennedy [Sat, 16 Nov 2013 15:21:15 +0000 (23:21 +0800)]
Fix 'bind[] = ...' not unbinding as expected.
Fixes #23
Marco Peereboom [Fri, 15 Nov 2013 12:30:50 +0000 (06:30 -0600)]
Prepare for release 2.4.0.
Reginald Kennedy [Thu, 14 Nov 2013 19:55:45 +0000 (03:55 +0800)]
Improve spawn program command parsing.
Closes #15
Reginald Kennedy [Fri, 8 Nov 2013 20:15:52 +0000 (04:15 +0800)]
Fix segfault when X keyboard map does not include Num_Lock.
Fixes #21
Reginald Kennedy [Tue, 5 Nov 2013 20:12:56 +0000 (04:12 +0800)]
Fix placement issue when uniconifying floaters.
Resolves #4
Reginald Kennedy [Wed, 30 Oct 2013 16:50:11 +0000 (00:50 +0800)]
Fix default quirks to work correctly with regex.
Reginald Kennedy [Wed, 30 Oct 2013 09:20:02 +0000 (17:20 +0800)]
Add new option: iconic_enabled
When one or more windows are iconic, show the count in bar.
Add new bar_format character sequence: +M
Replaced with iconic window count.
Closes #19
Reginald Kennedy [Tue, 29 Oct 2013 05:33:14 +0000 (13:33 +0800)]
Add quirk POSIX Extended Regular Expression pattern matching.
Note that square brackets [] and colons : in patterns must be
escaped with a backslash \ in addition to any other escaping.
Add 3rd (optional) _NET_WM_NAME/WM_NAME field to quirks.
Quirks can be specified as quirk[<class>], quirk[<class>:<instance>]
or quirk[<class>:<instance>:<name>].
The 'instance' and 'name' fields are optional and will 'match all' if
omitted or 'match empty' if left blank.
Cleanup window property terms; should be 'class', 'instance' and 'name'.
title_class_enabled and title_name_enabled are now aliases for
window_class_enabled and window_instance_enabled, respectively.
Fix uniconify of windows having neither _NET_WM_NAME nor WM_NAME.
Use const in conf_load functions.
Reginald Kennedy [Thu, 22 Aug 2013 01:12:44 +0000 (09:12 +0800)]
Fix focus border issue on output only windows.
Track WM_PROTOCOLS window property changes.
Select window events prior to getting initial properties.
This fixes an issue in manage_window() where early events could
sometimes get missed.
Reginald Kennedy [Mon, 12 Aug 2013 06:47:08 +0000 (14:47 +0800)]
Fix segfault when xcb_get_geometry_reply() fails.
Reginald Kennedy [Mon, 12 Aug 2013 06:45:26 +0000 (14:45 +0800)]
Some cleanup.
Reginald Kennedy [Tue, 30 Jul 2013 13:19:07 +0000 (21:19 +0800)]
Fix compile issue on older versions of XCB.
Reginald Kennedy [Sat, 20 Jul 2013 08:20:10 +0000 (16:20 +0800)]
Add new focus_urgent binding.
Focuses on the next window with the urgency hint set. The workspace is
switched if needed.
Fix description of urgent_enabled in man page.
Reginald Kennedy [Thu, 18 Jul 2013 04:04:05 +0000 (12:04 +0800)]
Fix crash in rg_n/mvrg_n when the target region does not exist.
Reginald Kennedy [Thu, 4 Jul 2013 02:14:40 +0000 (10:14 +0800)]
Fix focus state issue when switching between workspaces.
Closes FS#364
Reginald Kennedy [Thu, 2 May 2013 10:49:01 +0000 (18:49 +0800)]
Fix focus issue when (un)mapping a window on an unfocused region.
Reginald Kennedy [Tue, 7 May 2013 03:05:22 +0000 (11:05 +0800)]
Improve consistency of warning flags between makefiles.
Change default CC to cc.
Change symlinks to be relative.
Eliminate warnings.
David Hill [Thu, 13 Jun 2013 19:01:08 +0000 (15:01 -0400)]
update License section
David Hill [Thu, 13 Jun 2013 17:25:28 +0000 (13:25 -0400)]
cleanup linux Makefile.
from Michael Weber
David Hill [Wed, 12 Jun 2013 17:06:54 +0000 (13:06 -0400)]
Add initial README.md for Github
John C. Vernaleo [Mon, 10 Jun 2013 20:30:12 +0000 (16:30 -0400)]
Add some help to the OSX makefile if one wants to compile with
homebrew for the dependencies instead of macports. Thanks Kyle Isom
<kyle@tyrfingr.is> for initially doing it.
Reginald Kennedy [Tue, 7 May 2013 14:18:43 +0000 (22:18 +0800)]
Remove unused local variables.
Reginald Kennedy [Mon, 6 May 2013 17:15:14 +0000 (01:15 +0800)]
Remove unused global atom variables.
Reginald Kennedy [Tue, 30 Apr 2013 03:40:36 +0000 (11:40 +0800)]
Add new $dmenu_bottom spawn argument variable for use with dmenu.
Evaluates to '-b' if bar_at_bottom is enabled.
Change default dmenu spawns to include $dmenu_bottom.
Marco Peereboom [Mon, 29 Apr 2013 19:55:59 +0000 (14:55 -0500)]
Prepare for release 2.3.0.
Reginald Kennedy [Mon, 29 Apr 2013 03:31:25 +0000 (11:31 +0800)]
Add ability to set tile_gap to negative values.
This makes it possible for tiled windows to overlap. If set to the
opposite of border_width, adjacent borders will appear to collapse.
Add details to man page about negative values for tile_gap.
Reginald Kennedy [Mon, 29 Apr 2013 18:44:23 +0000 (02:44 +0800)]
Fix crash on maprequest when WM_CLASS name and/or instance isn't set.
Reginald Kennedy [Sat, 27 Apr 2013 23:19:41 +0000 (07:19 +0800)]
Add boundary_width to spectrwm.conf.
Reginald Kennedy [Tue, 23 Apr 2013 04:42:37 +0000 (12:42 +0800)]
Add ability to move/resize floating windows beyond the region boundary.
Windows will change regions based on the cursor location or, if being
moved by a key binding, window center.
Add 'soft boundary' window containment behavior to region boundaries.
When moving a window past the region boundary, the window will 'snap' to
the region boundary until it is moved more than boundary_width distance
beyond the edge.
Add constraint to ensure windows always have at least 1 pixel in a
region.
Add new boundary_width configuration option.
Disable the window containment behavior by setting this option to 0.
Fix floating window stacking order issue on multiple-region setups.
Eliminate unneeded region parameter on load_float_geom() and
store_float_geom().
Reginald Kennedy [Mon, 29 Apr 2013 17:45:12 +0000 (01:45 +0800)]
Change global variable to local.
Reginald Kennedy [Mon, 29 Apr 2013 05:29:38 +0000 (13:29 +0800)]
Fix symlinks in Linux Makefile.
Reginald Kennedy [Sat, 27 Apr 2013 21:30:59 +0000 (05:30 +0800)]
Fix positioning issue on flipped layouts with a multi-column/row stack.
Reginald Kennedy [Tue, 26 Mar 2013 01:55:40 +0000 (09:55 +0800)]
Fix focus when switching to an inactive workspace with a new window.
Reginald Kennedy [Mon, 25 Mar 2013 22:18:29 +0000 (06:18 +0800)]
Update copyrights.
Marco Peereboom [Sat, 23 Mar 2013 14:03:59 +0000 (09:03 -0500)]
Prepare for release 2.2.0.
Reginald Kennedy [Fri, 22 Mar 2013 23:46:09 +0000 (07:46 +0800)]
Fix manual focus mode sometimes switching region with pointer motion.
Reginald Kennedy [Fri, 22 Mar 2013 19:59:37 +0000 (03:59 +0800)]
Fix input focus fallback issue when running with multiple regions.
When a region is empty, input focus is now set to the invisible input
window in the region. This enables programs (e.g. dmenu) to correctly
determine which monitor has focus.
David Hill [Thu, 21 Mar 2013 14:59:47 +0000 (10:59 -0400)]
unsigned long -> size_t
Reginald Kennedy [Thu, 21 Mar 2013 03:58:29 +0000 (11:58 +0800)]
Improve man page explanation of verbose_layout.
Reginald Kennedy [Fri, 8 Mar 2013 01:17:49 +0000 (09:17 +0800)]
Fix fullscreen layout stacking issue when using multiple regions.
Reginald Kennedy [Fri, 18 Jan 2013 01:31:01 +0000 (09:31 +0800)]
Add new ws_next_move and ws_prev_move bindings.
Switches to next/prev workspace with the current window.
Improve grabkeys to only grab ws binds within workspace_limit.
Reginald Kennedy [Mon, 7 Jan 2013 21:36:06 +0000 (05:36 +0800)]
Remove path from Linux spectrwm.desktop.
Reginald Kennedy [Mon, 31 Dec 2012 01:54:43 +0000 (09:54 +0800)]
Initialize some pointers that could be freed without being initialized.
John C. Vernaleo [Fri, 21 Dec 2012 19:19:09 +0000 (14:19 -0500)]
Use version.h on osx and more files in .gitignore.
John C. Vernaleo [Wed, 19 Dec 2012 14:31:21 +0000 (09:31 -0500)]
Fixes for osx.
Modify Makefile to include needed libraries and use paths for macports
(which is currently required).
Add some files for osx to gitignore.
Reginald Kennedy [Wed, 19 Dec 2012 04:47:45 +0000 (12:47 +0800)]
Add get_screen_count function that handles the result of xcb_get_setup.
Reginald Kennedy [Sun, 2 Dec 2012 09:00:30 +0000 (17:00 +0800)]
Add new quirk NOFOCUSONMAP.
Don't change focus to the window when it gets mapped on the screen.
Add new quirk FOCUSONMAP_SINGLE.
When the window is mapped, change focus if it is the only mapped window
on the workspace using the quirk entry.
Reginald Kennedy [Tue, 4 Dec 2012 05:18:38 +0000 (13:18 +0800)]
Fix setkeymapping to call expand_tilde for proper expansion of ~ in path.
Change validation behavior for default 'optional' applications.
Overriding the binding will no longer cause validation.
Validation will only occur when the program call is overridden.
Add details in spectrwm.conf on how to disable the default programs.
Improve man page PROGRAMS section.
Added details on default program validation and how to disable/override.
Marco Peereboom [Wed, 28 Nov 2012 14:02:12 +0000 (08:02 -0600)]
Prepare for release 2.1.1.
Reginald Kennedy [Sat, 24 Nov 2012 07:34:03 +0000 (15:34 +0800)]
Fix bar clock not getting updated during periods of inactivity.
Reginald Kennedy [Fri, 16 Nov 2012 17:03:58 +0000 (01:03 +0800)]
Fix move/resize to bail if the window gets destroyed.
Reginald Kennedy [Mon, 5 Nov 2012 03:23:36 +0000 (11:23 +0800)]
Validate bound spawn programs after conf is loaded.
Validate screenshot_* and initscr bindings only when overridden.
Simplify setspawn.
Remove spawn_replace as it is no longer needed.