From 9e1586ba73b2b230a1577e52aca74c408499478c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 4 Dec 2003 12:20:34 +0000 Subject: [PATCH] Fix Oracle Installer using 'Java(tm): Write once, run somewhere'. It looks like if _KWIN_RUNNING atom is detected, then it does some strange XTranslateCoordinate stuff and gets it wrong with current KWin (and even with FVWM, if the atom exists). However, if _ICEWM_WINOPTHINT atom also exists, it works fine *shrug*. CCMAIL: 67283-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=271135 --- atoms.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/atoms.cpp b/atoms.cpp index 16c2d19986..397c63c28f 100644 --- a/atoms.cpp +++ b/atoms.cpp @@ -65,6 +65,10 @@ Atoms::Atoms() Atom fake; atoms[n] = &fake; names[n++] = (char *) "_DT_SM_WINDOW_INFO"; + + Atom dummy; + atoms[n] = &dummy; + names[n++] = (char *) "_ICEWM_WINOPTHINT"; XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return ); for (int i = 0; i < n; i++ )