pager.git
15 years agoStability
Iain Patterson [Mon, 9 Mar 2009 16:10:29 +0000 (16:10 +0000)]
Stability

Use XGetWindowAttributes() instead of XGetGeometry().

15 years agoFall back to XQueryTree if necessary
Iain Patterson [Sun, 8 Mar 2009 15:18:57 +0000 (15:18 +0000)]
Fall back to XQueryTree if necessary

15 years agoWindow mode fixes
Iain Patterson [Sun, 8 Mar 2009 14:50:10 +0000 (14:50 +0000)]
Window mode fixes

Scale width and height correctly.
Don't page the pager.

15 years agoHandle dynamic desktops by default
Iain Patterson [Sun, 8 Mar 2009 12:57:03 +0000 (12:57 +0000)]
Handle dynamic desktops by default

Unless a desktop is specified the pager will now always handle the
active desktop.

15 years agoFix for windowed mode
Iain Patterson [Sun, 8 Mar 2009 12:39:44 +0000 (12:39 +0000)]
Fix for windowed mode

DAMakePixmap() assumes the window is docked and of constant size.

15 years agoTidyup
Iain Patterson [Sun, 8 Mar 2009 12:35:28 +0000 (12:35 +0000)]
Tidyup

Remove broken stuff.
Compiler food.

15 years agoAllow dragging windows
Iain Patterson [Sun, 8 Mar 2009 12:26:04 +0000 (12:26 +0000)]
Allow dragging windows

Left-click to drag and activate.
Right-click to drag only.
Raising and lowering windows doesn't work and will be removed.

15 years agoAllow selecting windows
Iain Patterson [Sat, 7 Mar 2009 13:46:05 +0000 (13:46 +0000)]
Allow selecting windows

Left click to activate a window.
Right click to raise a window (XXX: the wrong way).
Middle click to lower a window (XXX: the wrong way).

15 years agoDrawing tidyup
Iain Patterson [Sat, 7 Mar 2009 11:49:30 +0000 (11:49 +0000)]
Drawing tidyup

Changed relief colours.
Changed background and window colours ... again.
Be smarter about drawing windows which scale down to really small sizes.

15 years agoIgnore BadWindow errors
Iain Patterson [Sat, 7 Mar 2009 11:22:08 +0000 (11:22 +0000)]
Ignore BadWindow errors

If a window has gone away since we queried it it's safe to ignore the
error.

15 years agoUse _NET_WM properties
Iain Patterson [Fri, 6 Mar 2009 13:56:51 +0000 (13:56 +0000)]
Use _NET_WM properties

Querying the window manager is more efficient and reliable.
Use different colours for active/inactive windows and desktops.

15 years agoFirst mildly functional pager
Iain Patterson [Fri, 6 Mar 2009 10:15:48 +0000 (10:15 +0000)]
First mildly functional pager

The pager draws windows from the current workspace.