[openbox] Java and openbox

Brian Mattern rephorm at rephorm.com
Tue May 31 12:33:07 EDT 2011


Thanks for fixing this!

Brian

On Fri, 13 May 2011, Dana Jansens wrote:

> Thanks for pointing this out, you were correct on the DESKTOP hint
> getting set on the fake-managed window incorrectly.  I've rectified
> this in my work branch, and will push this change into master.
> 
> On Fri, Mar 18, 2011 at 1:18 PM, Brian Mattern <rephorm at rephorm.com> wrote:
> > As a test, the following java code (save to a file called 'temp.java'
> > and compile with 'javac temp.java' and run with 'java temp') will
> > display the broken behavior when run from a desktop other than the first:
> >
> > import javax.swing.*;
> > public class temp {
> >  public static void main(String args[]) {
> >    JOptionPane.showMessageDialog(null, "Hello World!");
> >    System.exit(0);
> >  }
> > }
> >
> > On Thu, 17 Mar 2011, Brian Mattern wrote:
> >
> >> Git commit 79cf72d17ff42e5bc8eb1adbd98bb42aa71fb085 seems to have broken
> >> compatibility with java swing apps. From this point forward in git, they
> >> are all started on desktop 0.
> >>
> >> My quick guess at what is going on is (without much familiarity with
> >> openbox's codebase, so this could be wrong):
> >>
> >> Java apps get "fake" managed first, at which point a configure event
> >> sets _NET_WM_DESKTOP to 0, then when they are managed for real, openbox
> >> thinks that they are requesting to be placed on desktop 0.
> >>
> >> Anyway, I'm not sure that this isn't Java's fault, BUT it does seem to
> >> be a regression on the part of openbox since it worked prior to that
> >> commit.
> >>
> >> --
> >> Brian Mattern
> >> _______________________________________________
> >> openbox mailing list
> >> openbox at icculus.org
> >> http://icculus.org/mailman/listinfo/openbox
> > --
> > Brian Mattern
> > _______________________________________________
> > openbox mailing list
> > openbox at icculus.org
> > http://icculus.org/mailman/listinfo/openbox
> >
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox


More information about the openbox mailing list