Updates for when prism doesn't behave.

This commit is contained in:
Storm Dragon committed 2026-10-13 17:42:56 -04:00
1 parent 0d9cc2651d
commit 6e92ad13d1
12 files changed
+415 -5

No files matched your search

+2
View File
@@ -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) {