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
This commit is contained in:
Luboš Luňák 2003-12-04 12:20:34 +00:00
parent 1a852fe8dc
commit 9e1586ba73

View file

@ -65,6 +65,10 @@ Atoms::Atoms()
Atom fake; Atom fake;
atoms[n] = &fake; atoms[n] = &fake;
names[n++] = (char *) "_DT_SM_WINDOW_INFO"; 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 ); XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return );
for (int i = 0; i < n; i++ ) for (int i = 0; i < n; i++ )