Peter Dons Tychsen donpedro@tdcadsl.dk writes:
@@ -85,6 +85,17 @@ BOOL set_capture_window( HWND hwnd, UINT gui_flags, HWND *prev_ret ) HWND previous = 0; UINT flags = 0; BOOL ret;
- GUITHREADINFO info;
- if(!GetGUIThreadInfo(GetCurrentThreadId(), &info))
- {
return FALSE;
- }
- /* if in menu mode, reject all requests to change focus, except if the menu bit is set */
- if((info.flags & GUI_INMENUMODE) && !(gui_flags & GUI_INMENUMODE))
- {
return FALSE;
- }
This should be handled on the server side.