]> Pileus Git - wmpus/log
wmpus
9 years agoStart adding support for atoms
Andy Spencer [Fri, 17 Apr 2015 05:01:26 +0000 (05:01 +0000)]
Start adding support for atoms

9 years agoAdd map and unmap handlers
Andy Spencer [Wed, 15 Apr 2015 20:06:15 +0000 (20:06 +0000)]
Add map and unmap handlers

9 years agoInsert windows into WM immediately
Andy Spencer [Wed, 15 Apr 2015 20:03:34 +0000 (20:03 +0000)]
Insert windows into WM immediately

This simplifies later processing because we don't have to figure out if
we need to insert or remove windows when they are mapped or unmapped. We
can just insert and remove them when the are created and destroyed then
send ST_SHOW/ST_HIDE events the rest of the time.

9 years agoAdd simple client killing
Andy Spencer [Wed, 15 Apr 2015 20:02:23 +0000 (20:02 +0000)]
Add simple client killing

9 years agoSimplify generic on_event handler
Andy Spencer [Wed, 15 Apr 2015 20:01:34 +0000 (20:01 +0000)]
Simplify generic on_event handler

9 years agoStart on sys_show
Andy Spencer [Mon, 13 Apr 2015 20:59:06 +0000 (20:59 +0000)]
Start on sys_show

9 years agoAdd focus and enter events
Andy Spencer [Sun, 12 Apr 2015 19:42:04 +0000 (19:42 +0000)]
Add focus and enter events

- This filters events based on the mouse grab,
  that way we can grab the pointer while moving
  windows so that we don't accidentally refocus.

9 years agoAdd window borders
Andy Spencer [Sun, 12 Apr 2015 01:01:29 +0000 (01:01 +0000)]
Add window borders

9 years agoAdd input focus
Andy Spencer [Sun, 12 Apr 2015 00:08:27 +0000 (00:08 +0000)]
Add input focus

9 years agoAdd key and mouse events
Andy Spencer [Sat, 11 Apr 2015 23:12:44 +0000 (23:12 +0000)]
Add key and mouse events

9 years agoUse xcb-util
Andy Spencer [Sat, 11 Apr 2015 20:16:30 +0000 (20:16 +0000)]
Use xcb-util

9 years agoAdd more checks and cleanup xcb wrappers
Andy Spencer [Sat, 11 Apr 2015 19:52:46 +0000 (19:52 +0000)]
Add more checks and cleanup xcb wrappers

9 years agoQuery all xinerama screens
Andy Spencer [Fri, 10 Apr 2015 05:37:50 +0000 (05:37 +0000)]
Query all xinerama screens

9 years agoQuery root window geometry
Andy Spencer [Fri, 10 Apr 2015 05:10:19 +0000 (05:10 +0000)]
Query root window geometry

9 years agoCapture initial windows
Andy Spencer [Fri, 10 Apr 2015 05:11:02 +0000 (05:11 +0000)]
Capture initial windows

9 years agoAdd XCB window mapping
Andy Spencer [Wed, 8 Apr 2015 20:43:52 +0000 (20:43 +0000)]
Add XCB window mapping

9 years agoSplit x11 into xlib and xcb systems
Andy Spencer [Mon, 6 Apr 2015 23:46:00 +0000 (23:46 +0000)]
Split x11 into xlib and xcb systems

9 years agoAllow adding hidden windows
Andy Spencer [Wed, 15 Apr 2015 19:51:54 +0000 (19:51 +0000)]
Allow adding hidden windows

This simplifies the system implementation because it can add windows as
soon as their created but before they're mapped. The WM can also keep
track of windows the entire time they exist.

9 years agoRemove root window tracking
Andy Spencer [Tue, 7 Apr 2015 00:08:48 +0000 (00:08 +0000)]
Remove root window tracking

This is really only applicable to X11, and passing it around though all
the function isn't really needed anyway. The only place it was used was
in the watch/unwatch functions, but we can just pass NULL to say that we
want all events instead of events for a particular window.

9 years agoMove common types to a separate file
Andy Spencer [Mon, 6 Apr 2015 23:57:58 +0000 (23:57 +0000)]
Move common types to a separate file

9 years agoChange win32 compiler
Andy Spencer [Mon, 6 Apr 2015 23:57:49 +0000 (23:57 +0000)]
Change win32 compiler

9 years agoRemove border width for toolbars
Andy Spencer [Mon, 29 Dec 2014 04:32:23 +0000 (04:32 +0000)]
Remove border width for toolbars

9 years agoMake monocule wm_mono.c:wm_show() static
Andy Spencer [Fri, 26 Dec 2014 15:06:11 +0000 (15:06 +0000)]
Make monocule wm_mono.c:wm_show() static

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

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

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

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

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

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

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

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

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

11 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

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

11 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

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

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

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

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

11 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

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

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

11 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

11 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

11 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

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

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

11 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

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

11 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

11 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

11 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

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

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

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

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

11 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

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

11 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

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

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

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

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

11 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)

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

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

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

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

11 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

11 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

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

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

11 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

12 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

12 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

12 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

12 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

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

12 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)

12 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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

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

12 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

12 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

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

12 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)

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

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

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

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