Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL3: SDL_CreateWindowWithProperties: window creation with SDL_PROP_WINDOW_WIN32_HWND_POINTER can't handle events across processes #12062

Closed
deadlocklogic opened this issue Jan 23, 2025 · 1 comment

Comments

@deadlocklogic
Copy link

Creating a window with SDL_CreateWindowWithProperties from a SDL_PROP_WINDOW_WIN32_HWND_POINTER handles events normally only if it is called from the same process where the foreign window was created.
Trying the same procedure with a handle from an external process isn't polling any events.

Notice:
The foreign window is also created using SDL3.

Platform: Windows 11
SDL3 main branch

@slouken
Copy link
Collaborator

slouken commented Jan 23, 2025

Is it valid to use a Window handle from a foreign process in Win32 API calls? I haven't tried this. You definitely won't get any events, because the process that created the window (in fact the thread that created the window) is the one that gets events for it.

@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants