summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Marco Peereboom [Tue, 20 Jan 2009 06:23:18 +0000 (06:23 +0000)]
ugh > 80 cols
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
Ryan McBride [Tue, 20 Jan 2009 06:05:47 +0000 (06:05 +0000)]
one. last. off-by-2.
Ryan McBride [Tue, 20 Jan 2009 05:57:18 +0000 (05:57 +0000)]
Duh, math is hard.
Ryan McBride [Tue, 20 Jan 2009 05:45:49 +0000 (05:45 +0000)]
Oops, take the window borders correctly into account.
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.
Marco Peereboom [Tue, 20 Jan 2009 04:28:22 +0000 (04:28 +0000)]
Let it beknown where we are
Marco Peereboom [Tue, 20 Jan 2009 03:50:50 +0000 (03:50 +0000)]
Add screen identifier. This doesn't do workspaces just yet.
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.
Ryan McBride [Mon, 19 Jan 2009 23:19:08 +0000 (23:19 +0000)]
Multihead is mostly working now, remove from todo.
Marco Peereboom [Mon, 19 Jan 2009 21:11:46 +0000 (21:11 +0000)]
Simplify bar updates.
Marco Peereboom [Mon, 19 Jan 2009 19:40:26 +0000 (19:40 +0000)]
width is no longer -2 by default so adjust bar width
Marco Peereboom [Mon, 19 Jan 2009 19:33:38 +0000 (19:33 +0000)]
I want to be able to look at cores for now.
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.
Marco Peereboom [Mon, 19 Jan 2009 15:11:47 +0000 (15:11 +0000)]
Stray debug
Marco Peereboom [Mon, 19 Jan 2009 15:09:04 +0000 (15:09 +0000)]
simplify and shrink code in setup some more
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.
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)
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.
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.
Marco Peereboom [Mon, 19 Jan 2009 04:27:28 +0000 (04:27 +0000)]
More blah blah and some screenshots
Marco Peereboom [Mon, 19 Jan 2009 03:30:39 +0000 (03:30 +0000)]
Kill some braces and shorten code a bit
Marco Peereboom [Mon, 19 Jan 2009 03:19:35 +0000 (03:19 +0000)]
Verbiage
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
Marco Peereboom [Sun, 18 Jan 2009 17:37:50 +0000 (17:37 +0000)]
Add tags
Marco Peereboom [Sun, 18 Jan 2009 17:35:24 +0000 (17:35 +0000)]
Add some html files to start doco.
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.
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.
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.
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.
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.
Marco Peereboom [Sat, 17 Jan 2009 19:57:48 +0000 (19:57 +0000)]
Fix fucking phantom windows for real this time.
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.
Marco Peereboom [Sat, 17 Jan 2009 17:44:10 +0000 (17:44 +0000)]
Fix stupid phantom windows during restart.
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.
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.
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.
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.
Marco Peereboom [Fri, 16 Jan 2009 19:13:36 +0000 (19:13 +0000)]
Cleanup and move some code to a more appropriate place.
Ryan McBride [Fri, 16 Jan 2009 10:02:13 +0000 (10:02 +0000)]
Make max (maximized single window) layout handler mostly work.
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
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.
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.
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.
Marco Peereboom [Thu, 15 Jan 2009 17:23:04 +0000 (17:23 +0000)]
Forgot to remove debug.
Marco Peereboom [Thu, 15 Jan 2009 17:22:05 +0000 (17:22 +0000)]
Off by one pixel in horizontal stack. Some spacing.
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.
Marco Peereboom [Thu, 15 Jan 2009 13:44:52 +0000 (13:44 +0000)]
Probably a fat finger from mr McBride
Ryan McBride [Thu, 15 Jan 2009 08:27:56 +0000 (08:27 +0000)]
next/prev window swap logic that sucks less.
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
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.
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.
Marco Peereboom [Wed, 14 Jan 2009 22:21:52 +0000 (22:21 +0000)]
center floaters
Marco Peereboom [Wed, 14 Jan 2009 22:06:48 +0000 (22:06 +0000)]
Add initial floating support and a forgotten makefile...
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.
Marco Peereboom [Wed, 14 Jan 2009 19:23:16 +0000 (19:23 +0000)]
Add initial dmenu support with alt-p
Marco Peereboom [Wed, 14 Jan 2009 19:08:56 +0000 (19:08 +0000)]
Some X apps work now such as gvim and firefox
Marco Peereboom [Wed, 14 Jan 2009 17:14:05 +0000 (17:14 +0000)]
Spacing
Marco Peereboom [Wed, 14 Jan 2009 17:10:52 +0000 (17:10 +0000)]
Add .conf file support
Marco Peereboom [Wed, 14 Jan 2009 14:25:19 +0000 (14:25 +0000)]
Fix last switchws bugglet where the bar appeared empty.
Ryan McBride [Wed, 14 Jan 2009 07:24:05 +0000 (07:24 +0000)]
Make sure all workspaces get restacked after the bar is toggled.
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.
Ryan McBride [Wed, 14 Jan 2009 06:29:34 +0000 (06:29 +0000)]
Fix marco's fix of my pasto.
Also somewhat cleaner FOCUSPREV and FOCUSNEXT code.
Marco Peereboom [Wed, 14 Jan 2009 06:16:27 +0000 (06:16 +0000)]
Fix mcbride pasto
Marco Peereboom [Wed, 14 Jan 2009 06:08:16 +0000 (06:08 +0000)]
tick tick tick; sucks because it does it in the signal handler but i am
not smart enough to do this with a XSendEvent
Ryan McBride [Wed, 14 Jan 2009 06:04:21 +0000 (06:04 +0000)]
Don't swap_to_main if no window has focus or main has focus.
Ryan McBride [Wed, 14 Jan 2009 05:48:18 +0000 (05:48 +0000)]
Let mod-shift-N send a window to another workspace.
Ryan McBride [Wed, 14 Jan 2009 05:14:13 +0000 (05:14 +0000)]
Complie with warnings, and cleanup.
- remove missing vars.
- add missing <strings.h>.
- the X11 Window type should be %lu in format strings.
Marco Peereboom [Wed, 14 Jan 2009 04:44:58 +0000 (04:44 +0000)]
Add bar; doesn't tick yet and doesn't enable/disable yet.
Marco Peereboom [Tue, 13 Jan 2009 22:59:00 +0000 (22:59 +0000)]
Missed some more spaces...
Marco Peereboom [Tue, 13 Jan 2009 22:57:43 +0000 (22:57 +0000)]
Silly mcbride spacing *
Marco Peereboom [Tue, 13 Jan 2009 22:51:54 +0000 (22:51 +0000)]
Argh forgot to disable debug
Marco Peereboom [Tue, 13 Jan 2009 22:51:20 +0000 (22:51 +0000)]
Sprinkle debug
Save per window cordinates
Marco Peereboom [Tue, 13 Jan 2009 22:29:09 +0000 (22:29 +0000)]
Some cleanup:
Move colors to global vars so that they cab be set later for a file.
Add char ** to args and pass xterm through it
Marco Peereboom [Tue, 13 Jan 2009 20:22:26 +0000 (20:22 +0000)]
fix comment */ that dissapeared somehow
Marco Peereboom [Tue, 13 Jan 2009 20:21:25 +0000 (20:21 +0000)]
Consolidate all focus stuff into discrete functions.
Marco Peereboom [Tue, 13 Jan 2009 19:39:08 +0000 (19:39 +0000)]
Remove comment.
Todd Fries [Tue, 13 Jan 2009 19:38:13 +0000 (19:38 +0000)]
compile instructions are not needed now that there is a Makefile
add tag here also
Todd Fries [Tue, 13 Jan 2009 19:35:17 +0000 (19:35 +0000)]
fix tag
Todd Fries [Tue, 13 Jan 2009 16:24:34 +0000 (16:24 +0000)]
makefiles are useful
Todd Fries [Tue, 13 Jan 2009 15:55:13 +0000 (15:55 +0000)]
Initial revision