pager.git
10 years agoFix segfaults master
Iain Patterson [Tue, 17 Mar 2009 15:20:58 +0000 (15:20 +0000)]
Fix segfaults

Take care of the return code from get_atom_longs().
Free atoms correctly.

10 years agoSet pager window properties
Iain Patterson [Thu, 12 Mar 2009 16:49:29 +0000 (16:49 +0000)]
Set pager window properties

Set a window name based on the requested workspace.
Set _NET_WM_SKIP_PAGER on the pager window.

10 years agoCheesy dropshadow
Iain Patterson [Mon, 9 Mar 2009 17:40:06 +0000 (17:40 +0000)]
Cheesy dropshadow

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

Use XGetWindowAttributes() instead of XGetGeometry().

10 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

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

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

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

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

Remove broken stuff.
Compiler food.

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

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

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

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

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

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