wmpus
7 years agoSupport graceful shutdown
Andy Spencer [Wed, 5 Oct 2011 03:28:51 +0000 (03:28 +0000)]
Support graceful shutdown

7 years agoRun through valgrind (fix memory leaks)
Andy Spencer [Wed, 5 Oct 2011 03:23:32 +0000 (03:23 +0000)]
Run through valgrind (fix memory leaks)

7 years agoMisc updates
Andy Spencer [Mon, 3 Oct 2011 08:56:54 +0000 (08:56 +0000)]
Misc updates

7 years agoMouse support is still buggy
Andy Spencer [Sun, 2 Oct 2011 01:29:44 +0000 (01:29 +0000)]
Mouse support is still buggy

7 years agoSwitch to ISC license
Andy Spencer [Sat, 1 Oct 2011 02:26:24 +0000 (02:26 +0000)]
Switch to ISC license

7 years agoAdd floating layer
Andy Spencer [Sun, 2 Oct 2011 01:05:18 +0000 (01:05 +0000)]
Add floating layer

7 years agoAdd config.mk
Andy Spencer [Sun, 2 Oct 2011 00:37:37 +0000 (00:37 +0000)]
Add config.mk

7 years agoAdd man page
Andy Spencer [Sat, 1 Oct 2011 02:10:30 +0000 (02:10 +0000)]
Add man page

7 years agoAdd readme and license file
Andy Spencer [Fri, 30 Sep 2011 07:48:08 +0000 (07:48 +0000)]
Add readme and license file

7 years agoNote sure when that got added..
Andy Spencer [Fri, 30 Sep 2011 07:30:26 +0000 (07:30 +0000)]
Note sure when that got added..

7 years agoFix bouncing in stack mode
Andy Spencer [Fri, 30 Sep 2011 03:35:23 +0000 (03:35 +0000)]
Fix bouncing in stack mode

7 years agoImprove sys_focus on win32
Andy Spencer [Thu, 29 Sep 2011 08:01:06 +0000 (08:01 +0000)]
Improve sys_focus on win32

7 years agoFake clicking on title bars in stack mode
Andy Spencer [Thu, 29 Sep 2011 08:42:00 +0000 (08:42 +0000)]
Fake clicking on title bars in stack mode

7 years agoTighten margins in stacking mode
Andy Spencer [Thu, 29 Sep 2011 08:23:27 +0000 (08:23 +0000)]
Tighten margins in stacking mode

7 years agoPrevent right click menu when resizing
Andy Spencer [Thu, 29 Sep 2011 08:00:53 +0000 (08:00 +0000)]
Prevent right click menu when resizing

7 years agoCleanup and lots of commenting
Andy Spencer [Thu, 29 Sep 2011 05:59:12 +0000 (05:59 +0000)]
Cleanup and lots of commenting

7 years agoRename to wmpus
Andy Spencer [Thu, 29 Sep 2011 03:23:49 +0000 (03:23 +0000)]
Rename to wmpus

7 years agoFix struts with multi-monitors
Andy Spencer [Wed, 28 Sep 2011 06:30:38 +0000 (06:30 +0000)]
Fix struts with multi-monitors

7 years agoMake settings configurable
Andy Spencer [Wed, 28 Sep 2011 06:12:17 +0000 (06:12 +0000)]
Make settings configurable

7 years agoRe-add mouse support on win32, fix bugs
Andy Spencer [Wed, 28 Sep 2011 06:04:07 +0000 (06:04 +0000)]
Re-add mouse support on win32, fix bugs

7 years agoFix bugs with tag switching
Andy Spencer [Wed, 28 Sep 2011 04:45:33 +0000 (04:45 +0000)]
Fix bugs with tag switching

7 years agoFix compiler warnings
Andy Spencer [Mon, 26 Sep 2011 08:30:01 +0000 (08:30 +0000)]
Fix compiler warnings

7 years agoAdd Win32 support for tags and multiple monitors
Andy Spencer [Mon, 26 Sep 2011 07:54:59 +0000 (07:54 +0000)]
Add Win32 support for tags and multiple monitors

7 years agoAdd support for tags (i.e. multiple desktops)
Andy Spencer [Mon, 26 Sep 2011 06:17:00 +0000 (06:17 +0000)]
Add support for tags (i.e. multiple desktops)

7 years agoAdd multi-monitor support to wm-wmii
Andy Spencer [Mon, 26 Sep 2011 01:48:38 +0000 (01:48 +0000)]
Add multi-monitor support to wm-wmii

7 years agoAdd initial Xinerama support
Andy Spencer [Sun, 25 Sep 2011 23:12:43 +0000 (23:12 +0000)]
Add initial Xinerama support

8 years agoAdd support for windows being in multiple tags
Andy Spencer [Sun, 25 Sep 2011 09:48:16 +0000 (09:48 +0000)]
Add support for windows being in multiple tags

wm_t -> tag_t -> dpy_t -> col_t -> row_t -> win_t -> win_wm_t

Add separate rows as the lowest level wm container:
  - Each row points to a single window
  - Each window may be pointed to by multiple rows, as long as the rows
    are in separate tags.

Add search functions for windows:
  - Windows can no longer have direct parents because they can be in
    multiple tags.
  - Use search function to find a window from the current tag, then
    return it's path (the list of parent containers).
  - This is slower, if it becomes a problem, the windows parents can be
    cached either in the win_wm_t structure, or parent pointers can be
    added to each of the containers.
  - Using search functions also alleviates some headaches involving
    updating the parent pointers.

8 years agoAdd structure for tags and displays
Andy Spencer [Sun, 25 Sep 2011 07:02:07 +0000 (07:02 +0000)]
Add structure for tags and displays

These don't actually do anything yet..

Each tag has multiple displays, but all the tags
should have the same number of displays with the
same root windows.

tag 0:
  +-----------+
  | display 0 |
  |           | +-------------------+
  |           | | display 1 | col 2 |
  |           | |       |   | win 0 |
  |           | | col 0 |   |-------|
  |           | |       |   | win 1 |
  +-----------+ +-------------------+

wm: {
tag 0: {
display 0: {
col 0: {
win 0:
win 1:
win n:
}
col 1: ...
col n: ...
}
display 1: ...
display n: ...
}
tag 1: ...
tag n: ...
}

8 years agoFix get_next
Andy Spencer [Sun, 25 Sep 2011 07:35:42 +0000 (07:35 +0000)]
Fix get_next

8 years agoUpdate win32 support
Andy Spencer [Sun, 25 Sep 2011 03:13:18 +0000 (03:13 +0000)]
Update win32 support

Done:
  - Tiling now works on win32
  - Cache windows as in sys-x11
  - Workaround SetForegroundWindow issues
  - Use GetKeyState instead of tracking modifiers

Todo:
  - Mouse input
  - Debugging

8 years agoFormatting and debugging updates
Andy Spencer [Sun, 25 Sep 2011 03:12:34 +0000 (03:12 +0000)]
Formatting and debugging updates

8 years agoAdd circular focus shifting
Andy Spencer [Mon, 19 Sep 2011 01:38:47 +0000 (01:38 +0000)]
Add circular focus shifting

8 years agoImplement quadrant based resizing
Andy Spencer [Mon, 19 Sep 2011 00:52:50 +0000 (00:52 +0000)]
Implement quadrant based resizing

8 years agoAdd border to focused window
Andy Spencer [Mon, 19 Sep 2011 00:32:56 +0000 (00:32 +0000)]
Add border to focused window

8 years agoOnly grab mouse click on unfocused windows
Andy Spencer [Sun, 18 Sep 2011 23:45:11 +0000 (23:45 +0000)]
Only grab mouse click on unfocused windows

Prevents accidentally stealing all clicks

8 years agoAdd split (default), stack, and maximized modes
Andy Spencer [Sun, 18 Sep 2011 22:48:12 +0000 (22:48 +0000)]
Add split (default), stack, and maximized modes

8 years agoTry to fix resizing for things like urxvtd
Andy Spencer [Sun, 18 Sep 2011 21:19:57 +0000 (21:19 +0000)]
Try to fix resizing for things like urxvtd

For some reason if we set the correct configure size, and even if we
send configure notify, the terminal doesn't resize itself correctly, not
sure why this happens.

Doing the incorrect configure, then resizing appears to fix it, but
causes flicker..

8 years agoForce WM requested size for configure requests
Andy Spencer [Sun, 18 Sep 2011 20:36:19 +0000 (20:36 +0000)]
Force WM requested size for configure requests

8 years agoAdd support for _NEW_WM_STRUT
Andy Spencer [Sun, 18 Sep 2011 10:40:53 +0000 (10:40 +0000)]
Add support for _NEW_WM_STRUT

Lets things like dzen work

8 years agoReset focus after focus change event
Andy Spencer [Sun, 18 Sep 2011 08:20:15 +0000 (08:20 +0000)]
Reset focus after focus change event

8 years agoUse focus for new windows
Andy Spencer [Sun, 18 Sep 2011 05:23:40 +0000 (05:23 +0000)]
Use focus for new windows

8 years agoUse focus when moving windows
Andy Spencer [Sun, 18 Sep 2011 04:41:16 +0000 (04:41 +0000)]
Use focus when moving windows

8 years agoFix margins, add some focus
Andy Spencer [Sun, 18 Sep 2011 03:55:09 +0000 (03:55 +0000)]
Fix margins, add some focus

Each column stores the last focused window and is used when switching
back to that column.

8 years agoAdd margin
Andy Spencer [Sun, 18 Sep 2011 01:23:56 +0000 (01:23 +0000)]
Add margin

8 years agoFix some errors
Andy Spencer [Sun, 18 Sep 2011 01:12:09 +0000 (01:12 +0000)]
Fix some errors

- UnmapNotify happens twice (wtf?) removing the window entirely the
  first time prevents the second time for doing anything.

- Ignore random X11 error messages using xerror callback
  (taken from dwm)

- Add static to a bunch of stuff

8 years agoFix list_insert
Andy Spencer [Sat, 17 Sep 2011 21:34:57 +0000 (21:34 +0000)]
Fix list_insert

Thanks to Mike Auchter

8 years agoFix key type, add LIB= for win32 build
Andy Spencer [Sat, 17 Sep 2011 00:17:10 +0000 (00:17 +0000)]
Fix key type, add LIB= for win32 build

8 years agoFix root window mask, change modkey
Andy Spencer [Sat, 17 Sep 2011 00:05:36 +0000 (00:05 +0000)]
Fix root window mask, change modkey

8 years agoBetter tiling support
Andy Spencer [Fri, 16 Sep 2011 23:36:08 +0000 (23:36 +0000)]
Better tiling support

8 years agoX11 updates
Andy Spencer [Fri, 16 Sep 2011 23:10:01 +0000 (23:10 +0000)]
X11 updates

- Ignore non-visible and override_redirect windows
- Keep focus when moving windows
- Fix pointer motion grabbing

8 years agoImplement keyboard focus/window movement
Andy Spencer [Sun, 22 May 2011 22:04:17 +0000 (22:04 +0000)]
Implement keyboard focus/window movement

8 years agoImprove window management
Andy Spencer [Sun, 22 May 2011 11:24:53 +0000 (11:24 +0000)]
Improve window management

Updates to sys-x11:
  - Add win_t caching
  - Add existing windows at startup
  - Watch for added/removed windows

Updates to wm-wmii:
  - Add rows/columns
  - Update arrangement for added/removed windows
  - Key based window/focus movement (broken)

Misc:
  - Add linked list util for wm-wmii

8 years agoPlaying with focus
Andy Spencer [Thu, 19 May 2011 07:45:53 +0000 (07:45 +0000)]
Playing with focus

8 years agoX11 Bug fixes
Andy Spencer [Thu, 19 May 2011 05:59:59 +0000 (05:59 +0000)]
X11 Bug fixes

8 years agoInitial code for win32
Andy Spencer [Wed, 18 May 2011 07:09:25 +0000 (07:09 +0000)]
Initial code for win32

8 years agoInitial code for x11/wmii
Andy Spencer [Sat, 14 May 2011 22:13:38 +0000 (22:13 +0000)]
Initial code for x11/wmii

8 years agoInitial file structure
Andy Spencer [Thu, 12 May 2011 05:29:16 +0000 (05:29 +0000)]
Initial file structure