]> code.delx.au - spectrwm/log
spectrwm
11 years agoconvert config_win and fake_keypress to XCB
David Hill [Fri, 6 Jul 2012 21:09:25 +0000 (17:09 -0400)]
convert config_win and fake_keypress to XCB

11 years agouse XCB_RANDR_SCREEN_CHANGE_NOTIFY
David Hill [Fri, 6 Jul 2012 20:36:48 +0000 (16:36 -0400)]
use XCB_RANDR_SCREEN_CHANGE_NOTIFY

11 years agoconvert dumpwins() to XCB
David Hill [Fri, 6 Jul 2012 20:31:40 +0000 (16:31 -0400)]
convert dumpwins() to XCB

11 years agogo back to using XPending() for now.
David Hill [Fri, 6 Jul 2012 20:07:47 +0000 (16:07 -0400)]
go back to using XPending() for now.
call xcb_flush() after raising windows.

11 years agoreplace xrandr setup with XCB
David Hill [Fri, 6 Jul 2012 20:02:07 +0000 (16:02 -0400)]
replace xrandr setup with XCB

11 years agoconvert a XSelectInput to XCB
David Hill [Fri, 6 Jul 2012 06:48:23 +0000 (02:48 -0400)]
convert a XSelectInput to XCB

11 years agoconvert bar_urgent to XCB
David Hill [Fri, 6 Jul 2012 06:32:58 +0000 (02:32 -0400)]
convert bar_urgent to XCB

11 years agoRevert "convert a XGetWindowAttributes"
David Hill [Fri, 6 Jul 2012 06:17:09 +0000 (02:17 -0400)]
Revert "convert a XGetWindowAttributes"

This reverts commit 4f87451a3ee933bae873789020054ba95d9626f4.

It is not doing what it is supposed to do :)

11 years agoconvert a XGetWindowAttributes
David Hill [Fri, 6 Jul 2012 04:22:58 +0000 (00:22 -0400)]
convert a XGetWindowAttributes

11 years agoconvert XWarpPointer to XCB
David Hill [Fri, 6 Jul 2012 04:15:16 +0000 (00:15 -0400)]
convert XWarpPointer to XCB

11 years agoconvert XSetWindowBorder()'s and unmanage_window() to XCB
David Hill [Fri, 6 Jul 2012 03:53:04 +0000 (23:53 -0400)]
convert XSetWindowBorder()'s and unmanage_window() to XCB

11 years agoconvert root_to_region to XCB
David Hill [Fri, 6 Jul 2012 03:29:47 +0000 (23:29 -0400)]
convert root_to_region to XCB

11 years agoconvert send_to_ws() and client_msg() to XCB
David Hill [Fri, 6 Jul 2012 03:09:41 +0000 (23:09 -0400)]
convert send_to_ws() and client_msg() to XCB

11 years agoconvert XMapRaised to XCB
David Hill [Fri, 6 Jul 2012 02:04:43 +0000 (22:04 -0400)]
convert XMapRaised to XCB

11 years agoconvert XKillClient to xcb
David Hill [Fri, 6 Jul 2012 01:50:32 +0000 (21:50 -0400)]
convert XKillClient to xcb

11 years agoconvert a lot more code over to xcb.
David Hill [Fri, 6 Jul 2012 01:05:13 +0000 (21:05 -0400)]
convert a lot more code over to xcb.

11 years agocreate function get_atom_from_string() and initial XCB RANDR support
David Hill [Thu, 5 Jul 2012 17:44:05 +0000 (13:44 -0400)]
create function get_atom_from_string() and initial XCB RANDR support

11 years agoconvert ewmh_autoquirk to XCB
David Hill [Wed, 4 Jul 2012 21:41:08 +0000 (17:41 -0400)]
convert ewmh_autoquirk to XCB

11 years agoconvert teardown_ewmh to XCB
David Hill [Wed, 4 Jul 2012 21:34:46 +0000 (17:34 -0400)]
convert teardown_ewmh to XCB

11 years agoconvert ewmh_get_win_state to XCB
David Hill [Wed, 4 Jul 2012 21:21:25 +0000 (17:21 -0400)]
convert ewmh_get_win_state to XCB

11 years agoconvert set_win_state() and getstate() to XCB.
David Hill [Wed, 4 Jul 2012 21:03:09 +0000 (17:03 -0400)]
convert set_win_state() and getstate() to XCB.
convert a XUngrabKey to XCB

11 years agooops - don't xcb_disconnect() on restart.
David Hill [Wed, 4 Jul 2012 06:15:17 +0000 (02:15 -0400)]
oops - don't xcb_disconnect() on restart.

11 years agoconvert bar_refresh() to XCB
David Hill [Wed, 4 Jul 2012 06:14:18 +0000 (02:14 -0400)]
convert bar_refresh() to XCB

11 years agoconvert name_to_color to XCB
David Hill [Wed, 4 Jul 2012 06:08:50 +0000 (02:08 -0400)]
convert name_to_color to XCB

note:  XCB doesn't not support RGB:/RR/GG/BB syntax.

11 years agoconvert update_window() to XCB
David Hill [Wed, 4 Jul 2012 04:41:38 +0000 (00:41 -0400)]
convert update_window() to XCB

11 years agoconvert ewmh_update_win_state() to XCB
David Hill [Wed, 4 Jul 2012 04:36:23 +0000 (00:36 -0400)]
convert ewmh_update_win_state() to XCB

11 years agoreplace ScreenCount() calls with XCB calls.
David Hill [Wed, 4 Jul 2012 04:28:48 +0000 (00:28 -0400)]
replace ScreenCount() calls with XCB calls.

11 years agoChange some 'Window' types to xcb_window_t's.
David Hill [Tue, 3 Jul 2012 22:28:35 +0000 (18:28 -0400)]
Change some 'Window' types to xcb_window_t's.

11 years agoconvert grabbuttons() and partial unfocus_win to XCB
David Hill [Tue, 3 Jul 2012 22:08:57 +0000 (18:08 -0400)]
convert grabbuttons() and partial unfocus_win to XCB

11 years agomake ewmh_update_actions() use XCB. Also convert ewmh_hint
David Hill [Tue, 3 Jul 2012 21:48:07 +0000 (17:48 -0400)]
make ewmh_update_actions() use XCB.  Also convert ewmh_hint
structure to XCB.

11 years agoconvert window_get_pid and partially custom_region to xcb
David Hill [Tue, 3 Jul 2012 21:42:23 +0000 (17:42 -0400)]
convert window_get_pid and partially custom_region to xcb

11 years agomake get_iconic use xcb
David Hill [Tue, 3 Jul 2012 20:41:25 +0000 (16:41 -0400)]
make get_iconic use xcb

11 years agomake update_iconic() use xcb
David Hill [Tue, 3 Jul 2012 20:17:16 +0000 (16:17 -0400)]
make update_iconic() use xcb

11 years agomake setscreencolor use xcb
David Hill [Tue, 3 Jul 2012 20:11:02 +0000 (16:11 -0400)]
make setscreencolor use xcb

11 years agomake setup_ewmh() use xcb
David Hill [Tue, 3 Jul 2012 19:59:24 +0000 (15:59 -0400)]
make setup_ewmh() use xcb

11 years agoinitial code to compile in xcb support.
David Hill [Tue, 3 Jul 2012 19:51:50 +0000 (15:51 -0400)]
initial code to compile in xcb support.

many more diffs coming.

11 years agoPrepare for release 1.1.2. SPECTRWM_1_1_2
Marco Peereboom [Tue, 17 Jul 2012 20:55:05 +0000 (15:55 -0500)]
Prepare for release 1.1.2.

11 years agoFix issue where _NET_ACTIVE_WINDOW is ignored on unmanaged windows.
Reginald Kennedy [Mon, 16 Jul 2012 19:33:36 +0000 (03:33 +0800)]
Fix issue where _NET_ACTIVE_WINDOW is ignored on unmanaged windows.

ok marco

11 years agoFix spawn_position to actually do what it is supposed to do.
Reginald Kennedy [Wed, 11 Jul 2012 17:23:43 +0000 (01:23 +0800)]
Fix spawn_position to actually do what it is supposed to do.

11 years agouse XRRGetScreenResourcesCurrent instead.
David Hill [Mon, 9 Jul 2012 21:21:43 +0000 (17:21 -0400)]
use XRRGetScreenResourcesCurrent instead.

XRRGetScreenResourcesCurrent is cheaper:  no hardware polling.
This seems to fix my garbaled console too.

11 years agoSimplify limit retrieving.
Tiago Cunha [Wed, 4 Jul 2012 20:47:24 +0000 (21:47 +0100)]
Simplify limit retrieving.

11 years agoTurn this into a function.
Tiago Cunha [Wed, 4 Jul 2012 20:37:20 +0000 (21:37 +0100)]
Turn this into a function.

11 years agoPrepare for release 1.1.1. SPECTRWM_1_1_1
Marco Peereboom [Tue, 3 Jul 2012 19:29:29 +0000 (14:29 -0500)]
Prepare for release 1.1.1.

11 years agoAdd clarification to man page that default workspace_limit is 10.
Reginald Kennedy [Tue, 3 Jul 2012 14:52:40 +0000 (22:52 +0800)]
Add clarification to man page that default workspace_limit is 10.

11 years agoAdd backwards compatibility for the spawn_term binding.
Reginald Kennedy [Tue, 3 Jul 2012 14:18:03 +0000 (22:18 +0800)]
Add backwards compatibility for the spawn_term binding.

11 years agoPrepare for release 1.1.0. SPECTRWM_1_1_0
Marco Peereboom [Tue, 3 Jul 2012 01:05:41 +0000 (20:05 -0500)]
Prepare for release 1.1.0.

11 years agoImprove configurerequest handling.
Reginald Kennedy [Fri, 29 Jun 2012 12:05:04 +0000 (20:05 +0800)]
Improve configurerequest handling.
Allow applications to change float geometry until manually resized by
the user.

Fix window mapping when managing a window
Move the window to the correct workspace first so that the region
dimensions are available to the app for proper sizing.

Improve fullscreen handling.
Prevent move or resize operations on fullscreen windows.

Add border flag to ws_win for window geometry calculations.

Utilize update_window instead of separate calls to XConfigureWindow.

ok marco

11 years agoFix status bar flicker by double-buffering the output.
Reginald Kennedy [Fri, 29 Jun 2012 19:47:29 +0000 (03:47 +0800)]
Fix status bar flicker by double-buffering the output.

Add a bar struct to contain the properties of each bar.

Eliminate redundant calls to set the bar colors.

ok marco

11 years agoUpdate copyrights.
Tiago Cunha [Mon, 18 Jun 2012 13:33:50 +0000 (14:33 +0100)]
Update copyrights.

11 years agoNon-left aligned text isn't truly justified.
Tiago Cunha [Mon, 18 Jun 2012 13:31:19 +0000 (14:31 +0100)]
Non-left aligned text isn't truly justified.

Add a paragraph in the bar_justify configuration file keyword to inform
the user that the status-bar output isn't truly justified, in some
special cases, if not left aligned, since the default format has
white-spaces embedded.

11 years agoAdd new character sequence used for padding.
Tiago Cunha [Wed, 13 Jun 2012 21:44:12 +0000 (22:44 +0100)]
Add new character sequence used for padding.

Instead of inserting sequential spaces one by one, add support for
padding with the +< character pair. Uses the specified limit or one
otherwise.

11 years agoUnlink es and it manual pages from the build.
Tiago Cunha [Wed, 13 Jun 2012 21:38:46 +0000 (22:38 +0100)]
Unlink es and it manual pages from the build.

They are outdated and mandoc(1) currently gives a few warnings which
might hide the ones from the main manual page and from the compiler.

11 years agoFix 'term' action binding and defaults.
Reginald Kennedy [Sat, 16 Jun 2012 00:48:49 +0000 (08:48 +0800)]
Fix 'term' action binding and defaults.
Note that 'program[term]' should be used to set the terminal; not
spawn_term.

Prevent width options from being set to negative values.

Change conf autorun example to xombrero.

Improve readability of enums.
(Based on patch submitted by Jason Woofenden <jason@jasonwoof.com>)

Sort conf_load switch cases to match enum.

ok marco

11 years agoremove ggdb3
Marco Peereboom [Sat, 23 Jun 2012 15:00:47 +0000 (10:00 -0500)]
remove ggdb3

11 years agoAdd horizontal_flip and vertical_flip layout options.
Reginald Kennedy [Sun, 10 Jun 2012 21:31:28 +0000 (05:31 +0800)]
Add horizontal_flip and vertical_flip layout options.

Based on patch submitted by Olivier Mauras <coredumb@coredumb.net>

ok marco

11 years agoFix issue replacing certain configuration bindings.
Reginald Kennedy [Thu, 7 Jun 2012 18:19:22 +0000 (02:19 +0800)]
Fix issue replacing certain configuration bindings.

ok marco

11 years agoFix xterm resource.
Tiago Cunha [Tue, 5 Jun 2012 21:41:50 +0000 (22:41 +0100)]
Fix xterm resource.

11 years agoAdd new window related character sequence.
Tiago Cunha [Thu, 31 May 2012 21:31:31 +0000 (22:31 +0100)]
Add new window related character sequence.

Character pair +P outputs both window class and title separated by a
colon. Might be useful to some users and it's only a few lines of code.

11 years agoCharacter sequence for the floating indicator.
Tiago Cunha [Thu, 31 May 2012 21:28:26 +0000 (22:28 +0100)]
Character sequence for the floating indicator.

11 years agoMissed a few spaces in the default format.
Tiago Cunha [Thu, 31 May 2012 21:21:59 +0000 (22:21 +0100)]
Missed a few spaces in the default format.

If not displaying the window title, add four spaces after the window
class. Noticed due to the previously related change.

11 years agoWindow names are limited to 64 characters.
Tiago Cunha [Thu, 24 May 2012 21:01:04 +0000 (22:01 +0100)]
Window names are limited to 64 characters.

It might not be clear from a user's point of view that the default
format has the window name limited. Document it and forward to the
bar_format option.

11 years agoSprinkle some const.
Tiago Cunha [Thu, 24 May 2012 20:49:39 +0000 (21:49 +0100)]
Sprinkle some const.

11 years agoNo point having static here.
Tiago Cunha [Thu, 24 May 2012 20:42:46 +0000 (21:42 +0100)]
No point having static here.

11 years agoTechnically, it's a tree, now.
Tiago Cunha [Thu, 24 May 2012 20:41:58 +0000 (21:41 +0100)]
Technically, it's a tree, now.

11 years agoMove a few spaces to the right place.
Tiago Cunha [Fri, 18 May 2012 14:04:21 +0000 (15:04 +0100)]
Move a few spaces to the right place.

The format should only be manipulated by the bar_fmt function or the
user. Thus, delete extra space when outputting the window name and move
the strlcat(3) call that appends four spaces where it belongs. Inside
the window title conditional.

Noticed by LordReg.

11 years agoAlbeit obvious it also overrides clock_format.
Tiago Cunha [Fri, 18 May 2012 09:02:07 +0000 (10:02 +0100)]
Albeit obvious it also overrides clock_format.

11 years agoLimit window name to 64 characters by default.
Tiago Cunha [Sun, 13 May 2012 22:29:38 +0000 (23:29 +0100)]
Limit window name to 64 characters by default.

11 years agoSupport maximum length in the character pairs.
Tiago Cunha [Sun, 13 May 2012 22:15:11 +0000 (23:15 +0100)]
Support maximum length in the character pairs.

The specified length is used to limit the number of characters outputted
by the sequence. Thus, it's now possible to limit, for instance, the
window name length.

This fixes Flyspray bug #243.

11 years agoWarn the user if format is too long.
Tiago Cunha [Sun, 13 May 2012 21:52:23 +0000 (22:52 +0100)]
Warn the user if format is too long.

11 years agoThe screen number can be fetched from the region.
Tiago Cunha [Sun, 13 May 2012 18:00:16 +0000 (19:00 +0100)]
The screen number can be fetched from the region.

11 years agoAdd the ability to format the status-bar output.
Tiago Cunha [Sun, 13 May 2012 00:33:38 +0000 (01:33 +0100)]
Add the ability to format the status-bar output.

Introduced the new bar_format configuration file keyword that allows to
customize the status-bar by providing character sequences that are
replaced accordingly, effectively supplanting the enabled options. The
default output is retained, though.

Idea taken from tmux(1).

11 years agoZap superfluous calls to bar_update.
Tiago Cunha [Sat, 12 May 2012 21:59:48 +0000 (22:59 +0100)]
Zap superfluous calls to bar_update.

Remove scattered calls to bar_update when switching workspaces and
cycling layouts, which are preceded by a focus function call. They
already are (as they should be) responsible for doing that.

11 years agoRefresh status-bar after moving a window.
Tiago Cunha [Sat, 12 May 2012 21:49:42 +0000 (22:49 +0100)]
Refresh status-bar after moving a window.

11 years agoKill references before focusing on a new window.
Tiago Cunha [Sat, 12 May 2012 21:17:22 +0000 (22:17 +0100)]
Kill references before focusing on a new window.

Like the other focusing functions, make focus_prev call kill_refs before
trying to focus on a new window. This way, the current window references
are cleared like it should be when the very last window is destroyed.

Otherwise, the status-bar output will contain (while its alarm does not
expire) the class hint of the to be removed window.

11 years agoDon't call the status-bar wrapper function.
Tiago Cunha [Sat, 12 May 2012 21:05:21 +0000 (22:05 +0100)]
Don't call the status-bar wrapper function.

The update functions already check if the window related enabled options
are set. Just call it directly, instead. As a consequence, the wrapper
function can now be deleted.

11 years agoReuse class hint in the status-bar.
Tiago Cunha [Sat, 12 May 2012 20:52:20 +0000 (21:52 +0100)]
Reuse class hint in the status-bar.

The window's class hint is already retrieved by the manage_window
function, which is called when a new application is spawned. Therefore,
use it when displaying the application's class and name, instead of
fetching them again with XGetClassHint(3).

Besides, its error checking was incorrect, since it also returns zero on
error.

11 years agoRemove unused variable.
Tiago Cunha [Sat, 12 May 2012 20:29:09 +0000 (21:29 +0100)]
Remove unused variable.

11 years agoFix a few style nits.
Tiago Cunha [Sat, 12 May 2012 20:28:49 +0000 (21:28 +0100)]
Fix a few style nits.

11 years agoAdd new options to change focus behavior on window open and close.
Reginald Kennedy [Wed, 23 May 2012 10:31:11 +0000 (18:31 +0800)]
Add new options to change focus behavior on window open and close.

ok marco

11 years agoFix input focus not being set in max_stack mode on new mapped windows.
Reginald Kennedy [Tue, 5 Jun 2012 15:52:38 +0000 (23:52 +0800)]
Fix input focus not being set in max_stack mode on new mapped windows.

ok marco

12 years agoFix missing charset warnings with a less-constrained fallback font entry.
Reginald Kennedy [Sat, 26 May 2012 10:14:23 +0000 (18:14 +0800)]
Fix missing charset warnings with a less-constrained fallback font entry.

12 years agoconvert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym
David Hill [Wed, 16 May 2012 04:22:59 +0000 (00:22 -0400)]
convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym

12 years agoAdd details to man page on how to bind non-latin characters.
Reginald Kennedy [Sat, 12 May 2012 22:49:47 +0000 (06:49 +0800)]
Add details to man page on how to bind non-latin characters.

From: Rovanion Luckey <rovanion.luckey@gmail.com>

ok marco

12 years agoFix segfault caused by workspaces above 10 not being initialized.
Reginald Kennedy [Fri, 20 Apr 2012 06:18:21 +0000 (14:18 +0800)]
Fix segfault caused by workspaces above 10 not being initialized.

12 years agoAdd default keybindings for the new workspaces to non-us keyboard layout files.
Reginald Kennedy [Mon, 9 Apr 2012 19:31:54 +0000 (03:31 +0800)]
Add default keybindings for the new workspaces to non-us keyboard layout files.

Fix typo in man page.

ok marco

12 years agoIncrease workspace hard limit to 22.
Reginald Kennedy [Sat, 7 Apr 2012 17:59:41 +0000 (01:59 +0800)]
Increase workspace hard limit to 22.

Add new keybindings for workspaces 11 through 22.
Defaults for ws_n and mvws_n are NOD+(F1-F12) and MOD+Shift+(F1-F12),
respectively.

Add a new configuration option 'workspace_limit' to make it possible for
the user to adjust the number of available workspaces.  Default is 10.

ok marco

12 years agoupdate authors
David Hill [Tue, 28 Feb 2012 04:16:39 +0000 (23:16 -0500)]
update authors

12 years agocleanup
David Hill [Tue, 28 Feb 2012 03:50:05 +0000 (22:50 -0500)]
cleanup

12 years agoPrepare for release 1.0.0. SPECTRWM_1_0_0
Marco Peereboom [Fri, 17 Feb 2012 17:12:33 +0000 (11:12 -0600)]
Prepare for release 1.0.0.

12 years agofix a real issue of an uninitialized variable, found by clang and we are now clang...
Marco Peereboom [Fri, 17 Feb 2012 16:57:29 +0000 (10:57 -0600)]
fix a real issue of an uninitialized variable, found by clang and we are now clang clean

12 years agocouple unused vars and bad pointer checks, from clang
Marco Peereboom [Fri, 17 Feb 2012 16:27:40 +0000 (10:27 -0600)]
couple unused vars and bad pointer checks, from clang

12 years agofix 2 clang -analyze warnings
Marco Peereboom [Fri, 17 Feb 2012 16:20:06 +0000 (10:20 -0600)]
fix 2 clang -analyze warnings

12 years agomake buildversion optional, from drahn
Marco Peereboom [Fri, 17 Feb 2012 16:07:06 +0000 (10:07 -0600)]
make buildversion optional, from drahn

12 years agobetter fix from davec
Marco Peereboom [Fri, 17 Feb 2012 15:53:50 +0000 (09:53 -0600)]
better fix from davec

12 years agoattempt to print the git version in the version string
Marco Peereboom [Fri, 17 Feb 2012 15:49:48 +0000 (09:49 -0600)]
attempt to print the git version in the version string

12 years agofix freebsd makefile from Niclas Zeising <zeising@daemonic.se>
Marco Peereboom [Fri, 17 Feb 2012 14:01:33 +0000 (08:01 -0600)]
fix freebsd makefile from Niclas Zeising <zeising@daemonic.se>

12 years agomake osx compile again
Marco Peereboom [Thu, 16 Feb 2012 15:22:47 +0000 (09:22 -0600)]
make osx compile again

12 years agoAdjust copyright years and authors list on man page.
Lawrence Teo [Thu, 16 Feb 2012 04:45:50 +0000 (23:45 -0500)]
Adjust copyright years and authors list on man page.

12 years agoremove scrotwm here too
Marco Peereboom [Wed, 15 Feb 2012 23:44:10 +0000 (17:44 -0600)]
remove scrotwm here too

12 years agoln spectrwm to scrotwm for now
Marco Peereboom [Wed, 15 Feb 2012 23:39:14 +0000 (17:39 -0600)]
ln spectrwm to scrotwm for now