The tabbed windows patch, IMHO, has one important
shortcoming: whenever a new file is opened, it is, by
default, opened in some (seemingly) arbitrary server
window. This is especially annoying when that window is
not visible on the current desktop.
This patch tries to be a bit smarter in that respect:
whenever the user opens a new document via nc, by
default, the server tries to open it in a window on
the current desktop, or creates a new window if no
window is available on the current desktop.
For me this is a no-brainer, as it is much more
intuitive. If anyone doesn't agree, I can always make
this behaviour optional via an X resource or even a
For the patch to work, the window manager needs to
support extended window manager hints (all reasonable
recent window managers do), but it falls back on the
old behaviour for non-compliant window managers.
I've tested it with sawfish, metacity, and an old
version of fvwm.