Updates for when prism doesn't behave.
This commit is contained in:
1 parent
0d9cc2651d
commit
6e92ad13d1
12 files changed
+415
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#include "menu_bridge.h"
|
||||
#include "edit_hook.h"
|
||||
#include "notification_hook.h"
|
||||
|
||||
static void menu_text(WCHAR *output, UINT capacity, const WCHAR *input) {
|
||||
UINT used = 0;
|
||||
@@ -19,6 +20,7 @@ static void menu_text(WCHAR *output, UINT capacity, const WCHAR *input) {
|
||||
__declspec(dllexport) LRESULT CALLBACK WineAccessMenuHook(int code, WPARAM wp,
|
||||
LPARAM lp) {
|
||||
if (code >= 0) {
|
||||
wine_access_watch_notifications();
|
||||
const CWPSTRUCT *message = (const CWPSTRUCT *)lp;
|
||||
if (message->message == WM_SETFOCUS) wine_access_watch_edit(message->hwnd);
|
||||
if (message->message == WM_MENUSELECT || message->message == WM_EXITMENULOOP) {
|
||||
|
||||
Reference in new issue
Block a user