http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed9ea4
)
Important patch for menu working in 1c 8.0
author
Anatoly Lyutin
<vostok@etersoft.ru>
Tue, 29 Apr 2008 11:57:06 +0000
(15:57 +0400)
committer
Konstantin Kondratyuk
<kondratyuk@etersoft.ru>
Fri, 2 May 2008 10:56:18 +0000
(14:56 +0400)
dlls/winex11.drv/event.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winex11.drv/event.c
b/dlls/winex11.drv/event.c
index 877d07be262e02135f4c1f60963821025429bfc3..4cef16b1217fdac59f0c425982cd0401e5b14e3f 100644
(file)
--- a/
dlls/winex11.drv/event.c
+++ b/
dlls/winex11.drv/event.c
@@
-632,7
+632,7
@@
static void X11DRV_FocusOut( HWND hwnd, XEvent *xev )
XUnsetICFocus( xic );
wine_tsx11_unlock();
}
- if (hwnd != GetForegroundWindow()) return;
+ /* if (hwnd != GetForegroundWindow()) return;*/
SendMessageW( hwnd, WM_CANCELMODE, 0, 0 );
/* don't reset the foreground window, if the window which is
@@
-658,6
+658,8
@@
static void X11DRV_FocusOut( HWND hwnd, XEvent *xev )
TRACE( "lost focus, setting fg to desktop\n" );
SetForegroundWindow( GetDesktopWindow() );
}
+ else
+ SetActiveWindow( hwnd );
}
}