[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] Java and openbox
From: rephorm () rephorm ! com (Brian Mattern)
Date: 2011-03-18 17:18:53
Message-ID: 20110318171853.GA9201 () ocelot
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic