wmpus
4 years agoAdd desktop files master
Andy Spencer [Sun, 17 Mar 2013 07:21:07 +0000 (07:21 +0000)]
Add desktop files

6 years agoAdd monocule window manager
Andy Spencer [Sun, 7 Apr 2013 03:50:32 +0000 (03:50 +0000)]
Add monocule window manager

6 years agoFix closing focused window
Andy Spencer [Sun, 7 Apr 2013 03:39:32 +0000 (03:39 +0000)]
Fix closing focused window

6 years agoMisc wmii updates
Andy Spencer [Mon, 11 Feb 2013 05:06:32 +0000 (05:06 +0000)]
Misc wmii updates

6 years agoSupport show/hide for windows
Andy Spencer [Mon, 24 Dec 2012 09:12:57 +0000 (09:12 +0000)]
Support show/hide for windows

6 years agoAdd maximize mode
Andy Spencer [Mon, 24 Dec 2012 09:11:49 +0000 (09:11 +0000)]
Add maximize mode

6 years agoRewrite X11 sys_show function
Andy Spencer [Wed, 5 Sep 2012 08:54:55 +0000 (08:54 +0000)]
Rewrite X11 sys_show function

This fixes a bug in chrome when trying to leave fullscreen mode. Chrome
expect the fullscreen property to be set, otherwise leaving fullscreen
actually tries to set fullscreen.

This should also close up a few edge cases when switching between
different modes.

6 years agoFix closing windows
Andy Spencer [Tue, 4 Sep 2012 07:04:57 +0000 (07:04 +0000)]
Fix closing windows

The win_msg function initializes a union.. Apparently since XEvent is a
union the implied .xclient.type = 0 overrode the explicit .type =
ClientMessage.

Note: setting focus on gtk windows causes key presses to be missed for
some reason.. so comment that out for now.

6 years agoVersion 0.1-rc1
Andy Spencer [Mon, 3 Sep 2012 00:46:00 +0000 (00:46 +0000)]
Version 0.1-rc1

6 years agoChange default mingw32 to Arch version
Andy Spencer [Sun, 2 Sep 2012 23:48:44 +0000 (23:48 +0000)]
Change default mingw32 to Arch version

6 years agoFix some bugs in shading..
Andy Spencer [Sun, 2 Sep 2012 03:19:43 +0000 (03:19 +0000)]
Fix some bugs in shading..

6 years agoFix fullscreen for flash videos
Andy Spencer [Sun, 2 Sep 2012 03:07:54 +0000 (03:07 +0000)]
Fix fullscreen for flash videos

This fixes fullscreen on create for some windows

6 years agoImprove debug output
Andy Spencer [Sun, 2 Sep 2012 03:06:20 +0000 (03:06 +0000)]
Improve debug output

6 years agoRemove some excess debugging
Andy Spencer [Sat, 11 Aug 2012 07:37:40 +0000 (07:37 +0000)]
Remove some excess debugging

6 years agoMove init and destroy code to win_{new,free}
Andy Spencer [Sat, 11 Aug 2012 07:21:43 +0000 (07:21 +0000)]
Move init and destroy code to win_{new,free}

This helps improve consistency if windows are created or destroyed from
different events.

This fixes a bug where a non-visible window was destroyed (without an
associated unmap), which previously left an invalid pointer in the wm.

6 years agoAdd TYPE_TOOLBAR instead of hiding them in sys
Andy Spencer [Sat, 11 Aug 2012 07:16:58 +0000 (07:16 +0000)]
Add TYPE_TOOLBAR instead of hiding them in sys

This hopefully makes things a little cleaner because it avoids having a
global wm_update function and gives the wm a little more control.
However, it now needs some special code to handle toolbars.

6 years agoFix build error in wm-tags
Andy Spencer [Mon, 9 Jul 2012 06:28:16 +0000 (06:28 +0000)]
Fix build error in wm-tags

6 years agoConfigure window when set to stack mode
Andy Spencer [Mon, 9 Jul 2012 05:41:38 +0000 (05:41 +0000)]
Configure window when set to stack mode

This matches the win32 behavior and prevents stacked windows from
overlapping each other. This causes some flickering in pidign, possibly
because the text area overlaps the menu bar when the window is shaded.

6 years agoUpdate debug messages
Andy Spencer [Mon, 9 Jul 2012 05:28:26 +0000 (05:28 +0000)]
Update debug messages

6 years agoUse consistent case in man page
Andy Spencer [Mon, 9 Jul 2012 05:05:45 +0000 (05:05 +0000)]
Use consistent case in man page

6 years agoAllow shift-modkey-mouse1 for resizing
Andy Spencer [Mon, 9 Jul 2012 05:02:30 +0000 (05:02 +0000)]
Allow shift-modkey-mouse1 for resizing

6 years agoSwitch tags to strings instead of ints
Andy Spencer [Mon, 9 Jul 2012 04:57:59 +0000 (04:57 +0000)]
Switch tags to strings instead of ints

6 years agoFix deprecated warning XKeycodeToKeysym warning
Andy Spencer [Mon, 9 Jul 2012 04:54:50 +0000 (04:54 +0000)]
Fix deprecated warning XKeycodeToKeysym warning

6 years agoUpdate man page
Andy Spencer [Wed, 20 Jun 2012 07:16:42 +0000 (07:16 +0000)]
Update man page

6 years agoFix 64-bit bugs with struts
Andy Spencer [Wed, 20 Jun 2012 06:28:42 +0000 (06:28 +0000)]
Fix 64-bit bugs with struts

6 years agoFix showing struts
Andy Spencer [Wed, 20 Jun 2012 05:56:07 +0000 (05:56 +0000)]
Fix showing struts

6 years agoAdd support for dialogs and transient windows
Andy Spencer [Wed, 20 Jun 2012 05:51:21 +0000 (05:51 +0000)]
Add support for dialogs and transient windows

These are both added the floating layer by default

6 years agoMore fullscreen update
Andy Spencer [Wed, 20 Jun 2012 05:19:34 +0000 (05:19 +0000)]
More fullscreen update

- Set fullscreen on window-add, e.g. for flash videos

6 years agoUpdate fullscreen support
Andy Spencer [Wed, 20 Jun 2012 04:51:38 +0000 (04:51 +0000)]
Update fullscreen support

- Add key binding for toggling fullscreen
- Avoid moving windows to the floating layer
- Keep fullscreen state when moving windows between tags

6 years agoGet rid of undefine..
Andy Spencer [Mon, 18 Jun 2012 00:23:35 +0000 (00:23 +0000)]
Get rid of undefine..

In the Gnu's project omniscience, they've totally screwed everything up
by adding automatic variables. Way to go Gnu project. Luckily they
haven't yet added an automatic variable for GCC as they've done for CC,
and since we use gcc specific features calling the variable that should
be fine.

6 years agoAdd wm_handle_state functiton
Andy Spencer [Thu, 14 Jun 2012 07:18:46 +0000 (07:18 +0000)]
Add wm_handle_state functiton

This tells the wm when a windows state changes from by some external
means, such as a request by the application.

Fullscreen windows are also saved across tab switches using this
interface.

6 years agosplit full into full/max
Andy Spencer [Thu, 14 Jun 2012 07:17:28 +0000 (07:17 +0000)]
split full into full/max

6 years agoAllows selecting text in certain GTK+ programs
Andy Spencer [Wed, 13 Jun 2012 08:54:12 +0000 (08:54 +0000)]
Allows selecting text in certain GTK+ programs

I don't know why you cant select text otherwise, it's probably because
X11 is insane. This has the down side of not automatically raising a
floating window when it is clicked on..

6 years agoRename mode_t to layout_t
Andy Spencer [Wed, 13 Jun 2012 08:48:51 +0000 (08:48 +0000)]
Rename mode_t to layout_t

6 years agoGet rid of sys->state and fix double mapping
Andy Spencer [Wed, 13 Jun 2012 08:22:32 +0000 (08:22 +0000)]
Get rid of sys->state and fix double mapping

Yes. I'm looking at you Emacs.

6 years agoTry, and fail, to handle delete correctly
Andy Spencer [Wed, 13 Jun 2012 07:08:29 +0000 (07:08 +0000)]
Try, and fail, to handle delete correctly

I have no idea why doing delete this way doesn't work.. so we destroy
the window anyway

6 years agomostly dbugging messages
Andy Spencer [Wed, 13 Jun 2012 07:03:41 +0000 (07:03 +0000)]
mostly dbugging messages

6 years agoAdd win_msg function
Andy Spencer [Wed, 13 Jun 2012 06:59:20 +0000 (06:59 +0000)]
Add win_msg function

6 years agoAdd fullscreen support
Andy Spencer [Mon, 19 Sep 2011 04:08:26 +0000 (04:08 +0000)]
Add fullscreen support

6 years agoCleanup output messages
Andy Spencer [Sat, 9 Jun 2012 09:27:49 +0000 (09:27 +0000)]
Cleanup output messages

6 years agoFix some window flashing on X11
Andy Spencer [Sat, 9 Jun 2012 07:05:56 +0000 (07:05 +0000)]
Fix some window flashing on X11

- Update sizes in sys-x11 before showing windows. This prevents mapping
  a window somewhere where it's not supposed to be mapped right after it
  is inserted.

- Rework the configure request handler to prevent resizing windows that
  ask to be resized (e.g. when changing font size in urxvt)

6 years agoUpdate README
Andy Spencer [Sun, 3 Jun 2012 07:18:33 +0000 (07:18 +0000)]
Update README

6 years agoUpdate copyright dates
Andy Spencer [Sun, 3 Jun 2012 06:57:20 +0000 (06:57 +0000)]
Update copyright dates

6 years agoUpdate makefiles
Andy Spencer [Sun, 3 Jun 2012 06:57:08 +0000 (06:57 +0000)]
Update makefiles

6 years agoUpdate man page
Andy Spencer [Sun, 3 Jun 2012 05:53:45 +0000 (05:53 +0000)]
Update man page

6 years agoMap windows for other non hidden states
Andy Spencer [Sun, 3 Jun 2012 04:55:02 +0000 (04:55 +0000)]
Map windows for other non hidden states

6 years agoResend mouse events instead of toggling grabs
Andy Spencer [Sun, 3 Jun 2012 04:00:17 +0000 (04:00 +0000)]
Resend mouse events instead of toggling grabs

6 years agoKeep struts on top
Andy Spencer [Sun, 3 Jun 2012 02:51:29 +0000 (02:51 +0000)]
Keep struts on top

6 years agoAdd window-close function
Andy Spencer [Sun, 3 Jun 2012 01:47:22 +0000 (01:47 +0000)]
Add window-close function

6 years agoUpdate naming conventions
Andy Spencer [Sun, 3 Jun 2012 01:40:12 +0000 (01:40 +0000)]
Update naming conventions

- Rename Key_t to event_t
- Make event_t an int so using characters doesn't give warnings
- Make enumerations uppercase

7 years agoRevert window activate handling
Andy Spencer [Thu, 27 Oct 2011 08:15:48 +0000 (08:15 +0000)]
Revert window activate handling

This causes crazy switching for some windows in stack mode

7 years agoAdd auto-focus for primary monitor
Andy Spencer [Wed, 26 Oct 2011 05:25:54 +0000 (05:25 +0000)]
Add auto-focus for primary monitor

7 years agoUpdate Win32 ShlProc
Andy Spencer [Wed, 26 Oct 2011 05:24:17 +0000 (05:24 +0000)]
Update Win32 ShlProc

- Support HSHELL_WINDOWREPLACED
- Fake button click on HSHELL_WINDOWACTIVATED

7 years agoUse stack config variable in sys-win32
Andy Spencer [Wed, 26 Oct 2011 05:23:35 +0000 (05:23 +0000)]
Use stack config variable in sys-win32

7 years agoProperly sort monitors left->right
Andy Spencer [Wed, 26 Oct 2011 05:22:17 +0000 (05:22 +0000)]
Properly sort monitors left->right

7 years agoTry to improve focus speed
Andy Spencer [Thu, 13 Oct 2011 08:14:23 +0000 (08:14 +0000)]
Try to improve focus speed

(this probably doesn't do anything)

7 years agoUse st_shade state instead of minimizing windows
Andy Spencer [Thu, 13 Oct 2011 08:11:18 +0000 (08:11 +0000)]
Use st_shade state instead of minimizing windows

Support st_shade on win32

7 years agoMove state to win_t
Andy Spencer [Thu, 13 Oct 2011 08:09:53 +0000 (08:09 +0000)]
Move state to win_t

7 years agoWin32 updates
Andy Spencer [Mon, 3 Oct 2011 08:55:21 +0000 (08:55 +0000)]
Win32 updates

- Force sys_raise
- Reset stacking order for sys_focus

7 years agoAdd signal handlers
Andy Spencer [Mon, 10 Oct 2011 07:30:59 +0000 (07:30 +0000)]
Add signal handlers

7 years agoFix bugs in wm-tags
Andy Spencer [Mon, 10 Oct 2011 07:30:30 +0000 (07:30 +0000)]
Fix bugs in wm-tags

7 years agoSetting focus at startup no longer needed
Andy Spencer [Fri, 7 Oct 2011 08:15:55 +0000 (08:15 +0000)]
Setting focus at startup no longer needed

7 years agoAdd brain-dead multiple desktop manager
Andy Spencer [Fri, 7 Oct 2011 08:13:23 +0000 (08:13 +0000)]
Add brain-dead multiple desktop manager

7 years agoMisc debugging
Andy Spencer [Thu, 6 Oct 2011 07:45:45 +0000 (07:45 +0000)]
Misc debugging

- Support HOMEPATH for config file for win32
- Fix sys_exit on win32 (remove running flag and use WM_QUIT)
- Don't auto-focus windows that are shaded

7 years agoArrange windows at startup for sys-win32
Andy Spencer [Thu, 6 Oct 2011 07:17:25 +0000 (07:17 +0000)]
Arrange windows at startup for sys-win32

7 years agoFix memory management bugs
Andy Spencer [Thu, 6 Oct 2011 07:17:45 +0000 (07:17 +0000)]
Fix memory management bugs

7 years agoUse config for sys-x11 and wm-wmii
Andy Spencer [Thu, 6 Oct 2011 06:55:47 +0000 (06:55 +0000)]
Use config for sys-x11 and wm-wmii

7 years agoAdd command line option parsing
Andy Spencer [Thu, 6 Oct 2011 06:01:34 +0000 (06:01 +0000)]
Add command line option parsing

7 years agoAdd configuration interface
Andy Spencer [Thu, 6 Oct 2011 04:59:58 +0000 (04:59 +0000)]
Add configuration interface

7 years agoAdd exit/free functions to win32
Andy Spencer [Wed, 5 Oct 2011 05:03:31 +0000 (05:03 +0000)]
Add exit/free functions to win32

7 years agoImprove shutdown
Andy Spencer [Wed, 5 Oct 2011 04:46:45 +0000 (04:46 +0000)]
Improve shutdown

- Make hidden windows visible
- Free all data

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

7 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.

7 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: ...
}

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