diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-05-02 16:27:15 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-05-02 16:27:15 +0000 |
commit | de935eeb7b1c4b402d2d26c56fbde415491c15a4 (patch) | |
tree | c7ba16ddd54177625caaed0675ff0adc0281e5e3 | |
parent | afe699008969fcbd15b6e0473cf8295b84a0a527 (diff) |
removed CJK because of screensaver issue
-rw-r--r-- | vcl/unx/source/window/salframe.cxx | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/vcl/unx/source/window/salframe.cxx b/vcl/unx/source/window/salframe.cxx index fd2130ae5f68..6baf6c5a7b8e 100644 --- a/vcl/unx/source/window/salframe.cxx +++ b/vcl/unx/source/window/salframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salframe.cxx,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: ssa $ $Date: 2001-04-27 15:28:18 $ + * last change: $Author: pl $ $Date: 2001-05-02 17:27:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2800,28 +2800,6 @@ long SalFrameData::Dispatch( XEvent *pEvent ) break; case VisibilityNotify: - // HACK: this is a workaround for CJK input method - // (see #79518#) the input method switches the focus forth and - // back while a second document is being mapped - // this really should be fixed in the input method - // as there are other problems with it too: on some window - // managers the focus will end in the status window of - // the IME and not in any document. - if( pEvent->xvisibility.state != VisibilityUnobscured - && nVisibility_ == VisibilityFullyObscured - && ! mpParent && maChildren.Count() == 0 - ) - { - XLIB_Window focusWindow = None; - int revert = RevertToNone; - XGetInputFocus( pDisplay_->GetDisplay(), &focusWindow, &revert ); - if( focusWindow == GetShellWindow() - || ( focusWindow == GetStackingWindow() && GetStackingWindow() ) - || focusWindow == GetWindow() ) - { - XRaiseWindow( pDisplay_->GetDisplay(), GetStackingWindow() != None ? GetStackingWindow() : GetShellWindow() ); - } - } nVisibility_ = pEvent->xvisibility.state; nRet = TRUE; break; |