JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
spectrwm.git
15 years agoRemove files for real
Marco Peereboom [Sat, 24 Jan 2009 23:49:58 +0000 (23:49 +0000)]
Remove files for real

15 years agoRemove html so that we can move it to it's own dir.
Marco Peereboom [Sat, 24 Jan 2009 23:38:36 +0000 (23:38 +0000)]
Remove html so that we can move it to it's own dir.

15 years agoAdd support for passing variables up to X11 via window properties; done by
Ryan McBride [Sat, 24 Jan 2009 17:57:26 +0000 (17:57 +0000)]
Add support for passing variables up to X11 via window properties; done by
hooking XCreateWindow and friends via LD_PRELOAD. Used now to make sure that
windows come up in the workspace they were spawn()'d from, but more soon.

Code to do the nasty borrowed with thanks from Enlightenment.

15 years agoRemove stray SWM_DEBUG
Marco Peereboom [Fri, 23 Jan 2009 22:51:39 +0000 (22:51 +0000)]
Remove stray SWM_DEBUG

15 years agoAdd bar delay
Marco Peereboom [Fri, 23 Jan 2009 22:50:38 +0000 (22:50 +0000)]
Add bar delay

15 years agoNew
Marco Peereboom [Fri, 23 Jan 2009 22:11:06 +0000 (22:11 +0000)]
New

15 years agoBetter man
Marco Peereboom [Fri, 23 Jan 2009 22:04:58 +0000 (22:04 +0000)]
Better man

15 years agoAdd commented-out support for printing CPU stats to the bar.
Ryan McBride [Fri, 23 Jan 2009 08:51:56 +0000 (08:51 +0000)]
Add commented-out support for printing CPU stats to the bar.

15 years agoI want to know if I'm on AC, might as well make it pretty while we're here.
Ryan McBride [Fri, 23 Jan 2009 08:30:03 +0000 (08:30 +0000)]
I want to know if I'm on AC, might as well make it pretty while we're here.
Also try to make it shut up on systems without battery.

15 years agoAdd man in html too
Marco Peereboom [Fri, 23 Jan 2009 04:20:34 +0000 (04:20 +0000)]
Add man in html too

15 years agoMake man
Marco Peereboom [Fri, 23 Jan 2009 04:14:40 +0000 (04:14 +0000)]
Make man

15 years agoAdd rudimentary man with the key bindings.
Marco Peereboom [Fri, 23 Jan 2009 04:05:04 +0000 (04:05 +0000)]
Add rudimentary man with the key bindings.

15 years agoUse full path
Marco Peereboom [Fri, 23 Jan 2009 02:38:30 +0000 (02:38 +0000)]
Use full path

15 years agoRemember which workspace we assign windows to via window properties.
Ryan McBride [Fri, 23 Jan 2009 01:01:48 +0000 (01:01 +0000)]
Remember which workspace we assign windows to via window properties.

15 years agoAdd linux goo; from NicM
Marco Peereboom [Thu, 22 Jan 2009 23:12:27 +0000 (23:12 +0000)]
Add linux goo; from NicM

15 years agoFix segfault on linux; from nicm
Marco Peereboom [Thu, 22 Jan 2009 23:06:45 +0000 (23:06 +0000)]
Fix segfault on linux; from nicm

15 years agoNo idea how this new = 1 bug snuck in but make it 0 so that windows draw
Marco Peereboom [Thu, 22 Jan 2009 22:57:30 +0000 (22:57 +0000)]
No idea how this new = 1 bug snuck in but make it 0 so that windows draw
properly.  Since I am still hounding a positioning bug with respect to
dialog windows leave some shitty debug in here albeit disabled.

15 years agoremove some stray carriage returns
Marco Peereboom [Thu, 22 Jan 2009 18:29:46 +0000 (18:29 +0000)]
remove some stray carriage returns

15 years agoupdate every 59 seconds instead of 1
Marco Peereboom [Thu, 22 Jan 2009 18:16:35 +0000 (18:16 +0000)]
update every 59 seconds instead of 1

15 years agoDone with one more item
Marco Peereboom [Thu, 22 Jan 2009 18:13:43 +0000 (18:13 +0000)]
Done with one more item

15 years agoAdd kill window fro pirofti
Marco Peereboom [Thu, 22 Jan 2009 18:11:52 +0000 (18:11 +0000)]
Add kill window fro pirofti

15 years ago*sigh* stupid debug still enabled
Marco Peereboom [Thu, 22 Jan 2009 18:04:02 +0000 (18:04 +0000)]
*sigh* stupid debug still enabled

15 years agoFix first of 2 new mecbride bugs; colors can be read from conf file again
Marco Peereboom [Thu, 22 Jan 2009 18:00:16 +0000 (18:00 +0000)]
Fix first of 2 new mecbride bugs; colors can be read from conf file again

15 years agoAdd baraction script for batter and stuff.
Marco Peereboom [Thu, 22 Jan 2009 17:50:16 +0000 (17:50 +0000)]
Add baraction script for batter and stuff.
bad mcbride broke colors in config file; need to go fix that now.

15 years agoSet colors and font for dmenu based on bar; make these independently
Ryan McBride [Thu, 22 Jan 2009 06:21:23 +0000 (06:21 +0000)]
Set colors and font for dmenu based on bar; make these independently
configurable later.

To do this, we store color names as well as values; This will help us later
to suppport dynamic screen changes.  Also, clean up the config parser by
storing colors in an indexed array so they can be set with a generic function.

15 years agogeez, wonder why this never bombed; zero it man!
Marco Peereboom [Thu, 22 Jan 2009 03:58:20 +0000 (03:58 +0000)]
geez, wonder why this never bombed; zero it man!

15 years agoTeh mouze
Marco Peereboom [Thu, 22 Jan 2009 03:48:17 +0000 (03:48 +0000)]
Teh mouze

15 years agoAdd mouse button actions. One example handler that does nothing and we
Marco Peereboom [Thu, 22 Jan 2009 03:46:13 +0000 (03:46 +0000)]
Add mouse button actions.  One example handler that does nothing and we
have copy and paste and click-to-focus

15 years agoWe want screen shots
Marco Peereboom [Thu, 22 Jan 2009 01:45:22 +0000 (01:45 +0000)]
We want screen shots

15 years agoSome items were done
Marco Peereboom [Thu, 22 Jan 2009 01:44:32 +0000 (01:44 +0000)]
Some items were done

15 years agoSimplify selection of the current region; just always track the cursor.
Ryan McBride [Thu, 22 Jan 2009 01:22:09 +0000 (01:22 +0000)]
Simplify selection of the current region; just always track the cursor.

15 years agoMore focus simplicfication
Marco Peereboom [Thu, 22 Jan 2009 00:08:19 +0000 (00:08 +0000)]
More focus simplicfication

15 years agoCollapse focus and unfocus and brute force unfocs. This way we don't lose
Marco Peereboom [Wed, 21 Jan 2009 23:12:54 +0000 (23:12 +0000)]
Collapse focus and unfocus and brute force unfocs.  This way we don't lose
track of what we are really trying to do.  Tested on multi and single screen

15 years agooops stray if sneaked in
Marco Peereboom [Wed, 21 Jan 2009 15:08:55 +0000 (15:08 +0000)]
oops stray if sneaked in

15 years agoRevert latest McBride commit. Doesn't work on single screen and I am not
Marco Peereboom [Wed, 21 Jan 2009 15:02:57 +0000 (15:02 +0000)]
Revert latest McBride commit.  Doesn't work on single screen and I am not
sure how to fix it.

15 years agoFix some workspace switching nits:
Ryan McBride [Wed, 21 Jan 2009 08:45:36 +0000 (08:45 +0000)]
Fix some workspace switching nits:
- Don't XMapRaised windows if they need to be moved/resized first.
- Keep focus in the current region if possible.

15 years agoCycle workspaces in region with alt-leftarrow and alt-rightarrow.
Ryan McBride [Wed, 21 Jan 2009 01:26:56 +0000 (01:26 +0000)]
Cycle workspaces in region with alt-leftarrow and alt-rightarrow.
By default skips empty and already visible workspaces, set
cycle_empty or cycle_visible to change this behaviour.

15 years agoUpdate todo
Marco Peereboom [Tue, 20 Jan 2009 06:46:37 +0000 (06:46 +0000)]
Update todo

15 years agough > 80 cols
Marco Peereboom [Tue, 20 Jan 2009 06:23:18 +0000 (06:23 +0000)]
ugh > 80 cols

15 years agoMake bar configurable using [x] notation in .conf file. Originally from dwc
Marco Peereboom [Tue, 20 Jan 2009 06:16:05 +0000 (06:16 +0000)]
Make bar configurable using [x] notation in .conf file.  Originally from dwc
Debug and make it work from me
ClearWindow instead of overwriting text on bar
shoten variable names that made the parser even more unreadable

15 years agoone. last. off-by-2.
Ryan McBride [Tue, 20 Jan 2009 06:05:47 +0000 (06:05 +0000)]
one. last. off-by-2.

15 years agoDuh, math is hard.
Ryan McBride [Tue, 20 Jan 2009 05:57:18 +0000 (05:57 +0000)]
Duh, math is hard.

15 years agoOops, take the window borders correctly into account.
Ryan McBride [Tue, 20 Jan 2009 05:45:49 +0000 (05:45 +0000)]
Oops, take the window borders correctly into account.

15 years agoAdd alt-comma and alt-period keybindings, which increase and decrease the
Ryan McBride [Tue, 20 Jan 2009 05:37:45 +0000 (05:37 +0000)]
Add alt-comma and alt-period keybindings, which increase and decrease the
number of windows in the master area.
kill the *_init and *_resize stacker hooks in favour of a single *_config.

15 years agoLet it beknown where we are
Marco Peereboom [Tue, 20 Jan 2009 04:28:22 +0000 (04:28 +0000)]
Let it beknown where we are

15 years agoAdd screen identifier. This doesn't do workspaces just yet.
Marco Peereboom [Tue, 20 Jan 2009 03:50:50 +0000 (03:50 +0000)]
Add screen identifier.  This doesn't do workspaces just yet.

15 years agoLoad config file AFTER screens are initialized. Bug pointed out by dwc.
Ryan McBride [Tue, 20 Jan 2009 02:22:50 +0000 (02:22 +0000)]
Load config file AFTER screens are initialized. Bug pointed out by dwc.

15 years agoMultihead is mostly working now, remove from todo.
Ryan McBride [Mon, 19 Jan 2009 23:19:08 +0000 (23:19 +0000)]
Multihead is mostly working now, remove from todo.

15 years agoSimplify bar updates.
Marco Peereboom [Mon, 19 Jan 2009 21:11:46 +0000 (21:11 +0000)]
Simplify bar updates.

15 years agowidth is no longer -2 by default so adjust bar width
Marco Peereboom [Mon, 19 Jan 2009 19:40:26 +0000 (19:40 +0000)]
width is no longer -2 by default so adjust bar width

15 years agoI want to be able to look at cores for now.
Marco Peereboom [Mon, 19 Jan 2009 19:33:38 +0000 (19:33 +0000)]
I want to be able to look at cores for now.

15 years agoUnfuck signal handler.
Marco Peereboom [Mon, 19 Jan 2009 19:27:36 +0000 (19:27 +0000)]
Unfuck signal handler.
Make all screens have their own bars.
Print screen number in bar.
Fix "Alarm clock" issue due to a race between restart and alarm.

15 years agoStray debug
Marco Peereboom [Mon, 19 Jan 2009 15:11:47 +0000 (15:11 +0000)]
Stray debug

15 years agosimplify and shrink code in setup some more
Marco Peereboom [Mon, 19 Jan 2009 15:09:04 +0000 (15:09 +0000)]
simplify and shrink code in setup some more

15 years agoShorten some variable names.
Marco Peereboom [Mon, 19 Jan 2009 14:59:29 +0000 (14:59 +0000)]
Shorten some variable names.
Don't leak memory and resources in setup.

15 years agoFix overlapping region on my fancy laptop with a big screen
Marco Peereboom [Mon, 19 Jan 2009 14:15:31 +0000 (14:15 +0000)]
Fix overlapping region on my fancy laptop with a big screen
Spacing
C89 variables (yes I am that old)

15 years agoCleanup; get rid of crufty cur_ws and cur_region and replace with
Ryan McBride [Mon, 19 Jan 2009 09:05:02 +0000 (09:05 +0000)]
Cleanup; get rid of crufty cur_ws and cur_region and replace with
root_to_reginon, which will always give a non-crufty result. Pass the
region to all keystroke handlers.

To allow for workspace commands in empty workspaces without full-force
focus-follows-mouse, track mouse-clicks on root windows and make them
override cur_focus in root_to_region().

Also, examples of more descriptive debug output for some handlers.

15 years agoMajor churn for multi-headed support (Xrandr and plain multi-screen).
Ryan McBride [Mon, 19 Jan 2009 05:48:11 +0000 (05:48 +0000)]
Major churn for multi-headed support (Xrandr and plain multi-screen).
- workspaces now per-screen (X does not let you migrate windows)
- a screen has 1 or more regions (now mapped by Xrandr, later configurable)
- current_ws is dead, long live cur_focus
- only one window has real focus, but workspaces keep track ws->focus
- lots of places (especially event handlers) use cur_focus but should
  identify the correct source of the event instead
- festival of pointer management to keep track of all this.

15 years agoMore blah blah and some screenshots
Marco Peereboom [Mon, 19 Jan 2009 04:27:28 +0000 (04:27 +0000)]
More blah blah and some screenshots

15 years agoKill some braces and shorten code a bit
Marco Peereboom [Mon, 19 Jan 2009 03:30:39 +0000 (03:30 +0000)]
Kill some braces and shorten code a bit

15 years agoVerbiage
Marco Peereboom [Mon, 19 Jan 2009 03:19:35 +0000 (03:19 +0000)]
Verbiage

15 years agoUnscrew colors on machines that use 16 bit color. I am talking to you
Marco Peereboom [Sun, 18 Jan 2009 23:53:03 +0000 (23:53 +0000)]
Unscrew colors on machines that use 16 bit color.  I am talking to you
zaurus and sparc!

from dwc

15 years agoAdd tags
Marco Peereboom [Sun, 18 Jan 2009 17:37:50 +0000 (17:37 +0000)]
Add tags

15 years agoAdd some html files to start doco.
Marco Peereboom [Sun, 18 Jan 2009 17:35:24 +0000 (17:35 +0000)]
Add some html files to start doco.

15 years agoStop farting around with dialog box potential sizes and make it a ratio.
Marco Peereboom [Sun, 18 Jan 2009 04:48:04 +0000 (04:48 +0000)]
Stop farting around with dialog box potential sizes and make it a ratio.
This ratio can be configured in the .conf file.

15 years agoMake floaters work right. This fixes the remaining issues.
Marco Peereboom [Sun, 18 Jan 2009 03:30:51 +0000 (03:30 +0000)]
Make floaters work right.  This fixes the remaining issues.
Note: firefox sucks for having that retarded "download complete" window
use "Download Statusbar" to disable that.  Really you want to.

15 years agoCorrect XInput for managed windows so that mplayer syops whining about the
Marco Peereboom [Sun, 18 Jan 2009 01:19:01 +0000 (01:19 +0000)]
Correct XInput for managed windows so that mplayer syops whining about the
mouse mask.

15 years agoFirst attempt at doing pr0n! Mplayer now sort of works; switching between
Marco Peereboom [Sun, 18 Jan 2009 00:28:20 +0000 (00:28 +0000)]
First attempt at doing pr0n!  Mplayer now sort of works; switching between
ws while having floaters screws up.  Some more nits need to be resolved but
this is promissing enough.

15 years agosomehow if( and for( remained in the code borrowed from dwm. Kill that dead.
Marco Peereboom [Sat, 17 Jan 2009 21:39:22 +0000 (21:39 +0000)]
somehow if( and for( remained in the code borrowed from dwm.  Kill that dead.

15 years agoFix fucking phantom windows for real this time.
Marco Peereboom [Sat, 17 Jan 2009 19:57:48 +0000 (19:57 +0000)]
Fix fucking phantom windows for real this time.

15 years agoFix phantom windows better by keeping transients; fixes mozilla restart
Marco Peereboom [Sat, 17 Jan 2009 17:48:37 +0000 (17:48 +0000)]
Fix phantom windows better by keeping transients; fixes mozilla restart
with dialog open.

15 years agoFix stupid phantom windows during restart.
Marco Peereboom [Sat, 17 Jan 2009 17:44:10 +0000 (17:44 +0000)]
Fix stupid phantom windows during restart.

15 years agoSilly mcbride restarting the wm expecting it to be in the path.
Marco Peereboom [Sat, 17 Jan 2009 17:23:52 +0000 (17:23 +0000)]
Silly mcbride restarting the wm expecting it to be in the path.
Be more paranoid about managing windows.

15 years agoKeep focus on right window when cycling stack order. This does flicker
Marco Peereboom [Sat, 17 Jan 2009 14:32:56 +0000 (14:32 +0000)]
Keep focus on right window when cycling stack order.  This does flicker
ugly when going to max stack.

15 years agoWhen switching stacking keep focus on current win; from joris with tweaks.
Marco Peereboom [Sat, 17 Jan 2009 14:17:09 +0000 (14:17 +0000)]
When switching stacking keep focus on current win; from joris with tweaks.
This needs to be extended for all stack swtiches however the others are
being screwed up by autofocus events.  Those need to be eaten.

15 years agoThis only took 2 days to debug :-(
Marco Peereboom [Fri, 16 Jan 2009 23:40:01 +0000 (23:40 +0000)]
This only took 2 days to debug :-(

But now we draw x-apps correctly like emacs, xpdf and gvim etc

Floaters need more love and mplayer is still unhappy (it worked at some
point!); getting it in so that others can get used to this.

15 years agoCleanup and move some code to a more appropriate place.
Marco Peereboom [Fri, 16 Jan 2009 19:13:36 +0000 (19:13 +0000)]
Cleanup and move some code to a more appropriate place.

15 years agoMake max (maximized single window) layout handler mostly work.
Ryan McBride [Fri, 16 Jan 2009 10:02:13 +0000 (10:02 +0000)]
Make max (maximized single window) layout handler mostly work.

15 years agoAllow resizing (alt-h / alt-l) the master area and resetting (alt-shift-space)
Ryan McBride [Fri, 16 Jan 2009 07:27:26 +0000 (07:27 +0000)]
Allow resizing (alt-h / alt-l) the master area and resetting (alt-shift-space)
the layout to it's defaults, with per-workspace, per-layout persistence.
Also switch layout cycling to the "correct" key: alt-space

15 years agoPartly un-globalize workspace geometry.
Ryan McBride [Fri, 16 Jan 2009 05:25:13 +0000 (05:25 +0000)]
Partly un-globalize workspace geometry.
Mostly mechanical work towards multi-head support and other goodies.

15 years agoUse hints to position and size floating windows. This is really a best
Marco Peereboom [Thu, 15 Jan 2009 19:21:55 +0000 (19:21 +0000)]
Use hints to position and size floating windows.  This is really a best
effort since a lot of these apps are a total clusterfuck.

15 years agoWhen moving windows to an empty workspace make sure we focus on the window
Marco Peereboom [Thu, 15 Jan 2009 17:27:34 +0000 (17:27 +0000)]
When moving windows to an empty workspace make sure we focus on the window
that just moved there.

15 years agoForgot to remove debug.
Marco Peereboom [Thu, 15 Jan 2009 17:23:04 +0000 (17:23 +0000)]
Forgot to remove debug.

15 years agoOff by one pixel in horizontal stack. Some spacing.
Marco Peereboom [Thu, 15 Jan 2009 17:22:05 +0000 (17:22 +0000)]
Off by one pixel in horizontal stack.  Some spacing.

15 years agoInitial bits of support for different layouts, needs more splitting out of
Ryan McBride [Thu, 15 Jan 2009 13:59:58 +0000 (13:59 +0000)]
Initial bits of support for different layouts, needs more splitting out of
common code.
Use alt-c to cycle for now, will change to alt-space once I figure that out.

15 years agoProbably a fat finger from mr McBride
Marco Peereboom [Thu, 15 Jan 2009 13:44:52 +0000 (13:44 +0000)]
Probably a fat finger from mr McBride

15 years agonext/prev window swap logic that sucks less.
Ryan McBride [Thu, 15 Jan 2009 08:27:56 +0000 (08:27 +0000)]
next/prev window swap logic that sucks less.

15 years agoalt-j/alt-k = move focus to next/prev
Ryan McBride [Thu, 15 Jan 2009 06:41:06 +0000 (06:41 +0000)]
alt-j/alt-k = move focus to next/prev
alt-shift-j/alt-shift-k = swap focus window with next/prev

15 years agoYay fix old x apps that send events in different order. This fixes like
Marco Peereboom [Thu, 15 Jan 2009 03:50:26 +0000 (03:50 +0000)]
Yay fix old x apps that send events in different order.  This fixes like
xclock & xcalc etc.

15 years agoReexec scrotwm on alt-q, also enumerate and manage all existing windows when
Ryan McBride [Thu, 15 Jan 2009 02:14:08 +0000 (02:14 +0000)]
Reexec scrotwm on alt-q, also enumerate and manage all existing windows when
scrotwm starts.

15 years agocenter floaters
Marco Peereboom [Wed, 14 Jan 2009 22:21:52 +0000 (22:21 +0000)]
center floaters

15 years agoAdd initial floating support and a forgotten makefile...
Marco Peereboom [Wed, 14 Jan 2009 22:06:48 +0000 (22:06 +0000)]
Add initial floating support and a forgotten makefile...

15 years agoAdd unobscure event so that we can rebuild the bar after dmenu exits.
Marco Peereboom [Wed, 14 Jan 2009 19:38:24 +0000 (19:38 +0000)]
Add unobscure event so that we can rebuild the bar after dmenu exits.

15 years agoAdd initial dmenu support with alt-p
Marco Peereboom [Wed, 14 Jan 2009 19:23:16 +0000 (19:23 +0000)]
Add initial dmenu support with alt-p

15 years agoSome X apps work now such as gvim and firefox
Marco Peereboom [Wed, 14 Jan 2009 19:08:56 +0000 (19:08 +0000)]
Some X apps work now such as gvim and firefox

15 years agoSpacing
Marco Peereboom [Wed, 14 Jan 2009 17:14:05 +0000 (17:14 +0000)]
Spacing

15 years agoAdd .conf file support
Marco Peereboom [Wed, 14 Jan 2009 17:10:52 +0000 (17:10 +0000)]
Add .conf file support

15 years agoFix last switchws bugglet where the bar appeared empty.
Marco Peereboom [Wed, 14 Jan 2009 14:25:19 +0000 (14:25 +0000)]
Fix last switchws bugglet where the bar appeared empty.

15 years agoMake sure all workspaces get restacked after the bar is toggled.
Ryan McBride [Wed, 14 Jan 2009 07:24:05 +0000 (07:24 +0000)]
Make sure all workspaces get restacked after the bar is toggled.

15 years agoAdd alt-b for toggling tool bar. One little bug leftover when switching
Marco Peereboom [Wed, 14 Jan 2009 07:00:38 +0000 (07:00 +0000)]
Add alt-b for toggling tool bar.  One little bug leftover when switching
between ws and toggling the bar.