Re: [dwm] Fwd: Re: dwm + java

From: Anthony Brown <agabrown_AT_xs4all.nl>
Date: Fri, 8 Dec 2006 13:23:48 +0100

On Fri, Dec 08, 2006 at 12:30:01PM +0100, Anselm R. Garbe wrote:
> On Fri, Dec 08, 2006 at 12:21:56PM +0100, Anthony Brown wrote:
> > On Fri, Dec 08, 2006 at 10:52:17AM +0100, Anselm R. Garbe wrote:
> > > ----- Forwarded message from "Anselm R. Garbe" <arg_AT_suckless.org> -----
> > >
> > > Date: Fri, 8 Dec 2006 10:51:50 +0100
> > > From: "Anselm R. Garbe" <arg_AT_suckless.org>
> > > To: Sander van Dijk <a.h.vandijk_AT_gmail.com>
> > > Subject: Re: dwm + java
> > > User-Agent: Mutt/1.5.9i
> > >
> > > Another idea which could be related to it? Maybe this Java
> > > toolkit stuff has trouble if the client window border is set to
> > > 1px? That might also be an interesting check, because it might
> > > be that those apps work fine without a WM, because in such a
> > > situation no border is set (however, usually any WM sets the
> > > border of client windows at least to 0).
> > >
> > > Regards,
> > > Anselm
> > >
> >
> > Hi Anselm,
> >
> > Does this require a straightforward change to the DWM code (setting the
> > border to 0px or not setting a border)? I'd be happy to test what the
> > affect on my Java app would be.
>
> No, I think consider all places which match 'Border' being
> uncommented (and in manage being set to 0 instead of 1)...
> But I'm not sure those Java apps really have problems with
> border=1... Let me know!

Hi,

I changed the value of BORDERPX in dwm.h to 0 and then to 3, this has no
effect on the Java app. Without setting AWT_TOOLKIT to "MToolkit" I
still get the same problems.

I will do the other test later when I have more time on my hands.

cheers,
Anthony
Received on Fri Dec 08 2006 - 13:25:42 UTC

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