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
@@ -2,6 +2,7 @@
#include "edit_hook.h"
#include "menu_bridge.h"
#include "control_class.h"
#include "notification_hook.h"
#include <commctrl.h>
#include <stdlib.h>
@@ -257,6 +258,7 @@ BOOL wine_access_watch_edit(HWND window) {
__declspec(dllexport) LRESULT CALLBACK WineAccessInputHook(int code, WPARAM wp, LPARAM lp) {
if (code >= 0 && wp == PM_REMOVE) {
wine_access_watch_notifications();
HWND focus = GetFocus();
if (wine_access_watch_edit(focus))
SendMessageW(focus, RegisterWindowMessageW(EDIT_FOCUS_MESSAGE), 0, 0);