[Jim's Web Nook | Window Maker Stuff | Patches]


Jim's Window Maker Patches

Here's what's here:

There's more stuff related to Window Maker nearby.


News


Current Patches

WindowMaker-0.65.1-clip-captions.patch
WindowMaker-0.65.1-map-menu.patch
WindowMaker-0.65.1-wmsetbg-workspace-number.patch


What Do I Do with These?

If you're not sure what a patch is, or if you know what patches are but aren't sure how to apply them, have a look at this brief explanation of patches and how to use them.


Patch Descriptions

Better Clip Captions
The position of the workspace name and workspace number on the Clip as it comes by default is aesthetically displeasing [2 kB, JPEG, 64x64]. Additionally, the 'balloon' that pops up to display the entire workspace name is inconsistent with the rest of Window Maker ... why not use the same balloons that are used for appicons, miniwindows, and incomplete window titles?

This patch does the following:

Beginning with WindowMaker-0.61.1-clip-captions.patch, the 'new' (i.e., patched) behavior depends on the symbol PRETTY_CLIP_CAPTIONS to be #define'd in src/wconfig.h.in. Thanks to Bryan Chan.

WindowMaker-0.65.1-clip-captions.patch
WindowMaker-0.64.0-clip-captions.patch
WindowMaker-0.63.1-clip-captions.patch
WindowMaker-0.62.1-clip-captions.patch
WindowMaker-0.61.1-clip-captions.patch
WindowMaker-0.53.0-clip-captions.patch
WindowMaker-0.52.0-clip-captions.patch
WindowMaker-0.51.2-clip-captions.patch
WindowMaker-0.51.1-clip-captions.patch
WindowMaker-0.51.0-clip-captions.patch
WindowMaker-0.50.1-clip-captions.patch
WindowMaker-0.50.0-clip-captions.patch

Better Menu Mapping
The position at which menus pop up relative to the mouse cursor is somewhat inconsistent throughout Window Maker. For instance, the Applications and Windows menus pop up centered horizontally around the cursor, while the Clip menu (brought up with [RightButtonDown] on the Clip tile) pops up with the lefthand corner of the menu at the cursor. The Dock tile menu, on the other hand ([RightButtonDown] on a Dock tile) pops up at the right or left edge of the screen, depending on which side the Dock is on.

This patch does the following:

WindowMaker-0.65.1-map-menu.patch
WindowMaker-0.64.0-map-menu.patch
WindowMaker-0.63.1-map-menu.patch
WindowMaker-0.62.1-map-menu.patch
WindowMaker-0.61.1-map-menu.patch
WindowMaker-0.53.0-map-menu.patch
WindowMaker-0.52.0-map-menu.patch
WindowMaker-0.51.2-map-menu.patch
WindowMaker-0.51.1-map-menu.patch
WindowMaker-0.51.0-map-menu.patch

Improved Workspace Numbering with wmsetbg
Window Maker's wmsetbg helper utility is a convenient way to set workspace backgrounds ("wallpaper"). It's even pretty smart about setting different backgrounds for different workspaces (so you can tell at a glance---on a fast machine---which workspace you're on).

Unfortunately, wmsetbg suffers from a common user-interaction problem peculiar to programs written in C and its relatives: the programs (actually, the compilers) usually begin counting with the number zero, but human beings begin counting with the number one. If you use wmsetbg with the -w option to set the background for a specific workspace, wmsetbg thinks the first workspace is Workspace 0 (zero), when human beings---and even Window Maker, to Alfredo's and Dan's credit---call the first workspace Workspace 1 (one).

This patch puts wmsetbg back into its rightful place as a helper program and makes it count like humans are used to counting, instead of forcing humans to count like a C compiler.

It also fixes a related problem i've encountered: When no workspace-specific backgrounds are set, the first time i set one, wmsetbg acts like it counts beginning with 1 (one), but the next time i set a workspace-specific background---even the same one---wmsetbg acts like it counts from 0 (zero) again. This may ultimately be a bug in libPropList, but the way this patch rearranges the calls to PLInsertArrayElement() and PLRemoveArrayElement() makes things work consistently.

WindowMaker-0.65.1-wmsetbg-workspace-number.patch
WindowMaker-0.64.0-wmsetbg-workspace-number.patch


Obsolete Patches

Disable Defaults Polling
NOTE: This patch is integrated into Window Maker as of version 0.64.0. If you have that version or later, you don't need the no-polling patch.

In its default configuration, Window Maker polls for changes in its defaults (~/GNUstep/Defaults/*) every 3 seconds or so. This enables Window Maker to automagically detect and react to configuration changes as they occur.

Unfortunately, for mobile computing environments, this can make it somewhat difficult to let disks spin down in order to conserve power. You can run Window Maker with the --static command-line option to disable the polling, but this also disables writing changes to window attributes, the Dock and Clip state, etc.

This patch enables a --no-polling command-line option (as long as the symbol ENABLE_NO_POLLING is #define'd in src/wconfig.h.in) which disables the three-second polling.

Window Maker will still react to configuration changes made with setstyle and WPrefs. In addition, this patch enables Window Maker to reread its configuration when it receives a USR2 signal (killall -USR2 wmaker will do this on some systems).

WindowMaker-0.63.1-no-polling.patch
WindowMaker-0.62.1-no-polling.patch
WindowMaker-0.61.1-no-polling.patch

Definable Mouse Cursors
NOTE: This patch is integrated into Window Maker as of version 0.62.0. If you have that version or later, you don't need to apply the definable-cursor patch.

Window Maker uses its own idea of what mouse cursors are good to use and nifty to look at. This patch allows user-definable cursors. In particular, the patch allows windows to inherit the root-window cursor instead of setting a specific cursor for each window; this means that xsetroot -cursor and xsetroot -cursor_name will now work as expected (though with this patch it's not necessary to use xsetroot to customize your cursor).

More information is available in a separate README.

There are a few cursor bitmaps available nearby that work nicely with this patch.

WindowMaker-0.61.1-definable-cursor.patch
WindowMaker-0.53.0-definable-cursor.patch
WindowMaker-0.52.0-definable-cursor.patch
WindowMaker-0.51.2-definable-cursor.patch


Copyright © 1996-2001 Jim Knoble and Liquid Meme. All rights reserved.  |  Last modified: 2001-Aug-13 16:12 GMT-0400

[Jim's Web Nook | Window Maker Stuff | Patches]