Commit graph

38 commits

Author SHA1 Message Date
Ryan McBride
32a4812d88 Partly un-globalize workspace geometry.
Mostly mechanical work towards multi-head support and other goodies.
2009-01-16 05:25:13 +00:00
Marco Peereboom
fc8c63ffb7 Use hints to position and size floating windows. This is really a best
effort since a lot of these apps are a total clusterfuck.
2009-01-15 19:21:55 +00:00
Marco Peereboom
9888af9f7f When moving windows to an empty workspace make sure we focus on the window
that just moved there.
2009-01-15 17:27:34 +00:00
Marco Peereboom
eb4c85488d Forgot to remove debug. 2009-01-15 17:23:04 +00:00
Marco Peereboom
2d77968e8e Off by one pixel in horizontal stack. Some spacing. 2009-01-15 17:22:05 +00:00
Ryan McBride
0782d0971b 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.
2009-01-15 13:59:58 +00:00
Marco Peereboom
f5b4f5994e Probably a fat finger from mr McBride 2009-01-15 13:44:52 +00:00
Ryan McBride
4f0813c94d next/prev window swap logic that sucks less. 2009-01-15 08:27:56 +00:00
Ryan McBride
e6727e082a alt-j/alt-k = move focus to next/prev
alt-shift-j/alt-shift-k = swap focus window with next/prev
2009-01-15 06:41:06 +00:00
Marco Peereboom
0dc00b1a83 Yay fix old x apps that send events in different order. This fixes like
xclock & xcalc etc.
2009-01-15 03:50:26 +00:00
Ryan McBride
7718964fdb Reexec scrotwm on alt-q, also enumerate and manage all existing windows when
scrotwm starts.
2009-01-15 02:14:08 +00:00
Marco Peereboom
4f26b7c5ca center floaters 2009-01-14 22:21:52 +00:00
Marco Peereboom
840cd605d2 Add initial floating support and a forgotten makefile... 2009-01-14 22:06:48 +00:00
Marco Peereboom
3ddac044c0 Add unobscure event so that we can rebuild the bar after dmenu exits. 2009-01-14 19:38:24 +00:00
Marco Peereboom
58414f14f4 Add initial dmenu support with alt-p 2009-01-14 19:23:16 +00:00
Marco Peereboom
04f3b6a33c Some X apps work now such as gvim and firefox 2009-01-14 19:08:56 +00:00
Marco Peereboom
ee49baae87 Spacing 2009-01-14 17:14:05 +00:00
Marco Peereboom
b05bba3a0e Add .conf file support 2009-01-14 17:10:52 +00:00
Marco Peereboom
08c761d14b Fix last switchws bugglet where the bar appeared empty. 2009-01-14 14:25:19 +00:00
Ryan McBride
3a09255e9a Make sure all workspaces get restacked after the bar is toggled. 2009-01-14 07:24:05 +00:00
Marco Peereboom
433cf0a7cb Add alt-b for toggling tool bar. One little bug leftover when switching
between ws and toggling the bar.
2009-01-14 07:00:38 +00:00
Ryan McBride
3c32a5f62d Fix marco's fix of my pasto.
Also somewhat cleaner FOCUSPREV and FOCUSNEXT code.
2009-01-14 06:29:34 +00:00
Marco Peereboom
f28c13daf6 Fix mcbride pasto 2009-01-14 06:16:27 +00:00
Marco Peereboom
3574129dcc tick tick tick; sucks because it does it in the signal handler but i am
not smart enough to do this with a XSendEvent
2009-01-14 06:08:16 +00:00
Ryan McBride
ef5a4d70c7 Don't swap_to_main if no window has focus or main has focus. 2009-01-14 06:04:21 +00:00
Ryan McBride
0839929c3d Let mod-shift-N send a window to another workspace. 2009-01-14 05:48:18 +00:00
Ryan McBride
58096354b1 Complie with warnings, and cleanup.
- remove missing vars.
- add missing <strings.h>.
- the X11 Window type should be %lu in format strings.
2009-01-14 05:14:13 +00:00
Marco Peereboom
cdd5d1fed8 Add bar; doesn't tick yet and doesn't enable/disable yet. 2009-01-14 04:44:58 +00:00
Marco Peereboom
4fbc11b614 Missed some more spaces... 2009-01-13 22:59:00 +00:00
Marco Peereboom
744ee6bdfd Silly mcbride spacing * 2009-01-13 22:57:43 +00:00
Marco Peereboom
8386e0a11c Argh forgot to disable debug 2009-01-13 22:51:54 +00:00
Marco Peereboom
942f4f511f Sprinkle debug
Save per window cordinates
2009-01-13 22:51:20 +00:00
Marco Peereboom
86e6cf9188 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
2009-01-13 22:29:09 +00:00
Marco Peereboom
3a8b55170f fix comment */ that dissapeared somehow 2009-01-13 20:22:26 +00:00
Marco Peereboom
1d8f90dbb4 Consolidate all focus stuff into discrete functions. 2009-01-13 20:21:25 +00:00
Marco Peereboom
3c587f7a95 Remove comment. 2009-01-13 19:39:08 +00:00
Todd Fries
1daee531ae compile instructions are not needed now that there is a Makefile
add tag here also
2009-01-13 19:38:13 +00:00
Todd Fries
cfe5cca9a8 Initial revision 2009-01-13 15:55:13 +00:00