Re: [dwm] dwm and Sun's XToolkit

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 14 Dec 2006 08:16:17 +0100

On Thu, Dec 14, 2006 at 12:28:35PM +1300, Karl. wrote:
> On Wed, Dec 13, 2006 at 12:19:19PM +0100, Anselm R. Garbe wrote:
> > One remark I forget to mention. If no WM runs, XWM don't tries
> > to getInsets, because that won't make any sense obviously...
>
> I was wondering if running the java app inside a nested X server would
> work as a hack to make it behave usably? I presume that the app would
> see no window manager and therefore not activate the java WM-specific
> hacks.

That should work, at least with Xnest it works. But I'd use the
MToolkit instead of such hacks...

> I have installed Xephyr (called xserver-xephyr under Debian) to try this
> out, but I've not had time to seriously play with it yet. The oddity I
> have seen, though, is that dwm rules seem unable to match the xephyr
> window when it appears - there seems to be no class:instance:title info
> to match against (I patched tag.c to print this info to stderr (as shown
> below) - it works fine for all my other clients so far, but prints
> nothing for xephyr).
>
> What am I missing? Is this likely to help with the java apps anyway?

If xephyr hasn't set any of those hints, you could match against
":::" afaik.

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
Received on Thu Dec 14 2006 - 08:16:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:49 UTC