Only consider host windows with WM_STATE set

This is the same way (minus the mapping check part) that `xprop` and
`xwininfo` filter windows when clicking on them. REAPER's toplevel
window apparently doesn't process any keyboard input when the mouse
cursor is located outside of that window.
This commit is contained in:
Robbert van der Helm
2021-07-17 21:03:57 +02:00
parent b99f03cf64
commit f43e9c2153
3 changed files with 76 additions and 3 deletions
+5
View File
@@ -306,6 +306,11 @@ class Editor {
*/
std::optional<fu2::unique_function<void()>> idle_timer_proc;
/**
* The atom corresponding to `WM_STATE`.
*/
xcb_atom_t xcb_wm_state_property;
/**
* The window handle of the editor window created by the DAW.
*/