<div dir="ltr">Hi,<div><br></div><div>We develop Bitwig Studio DAW for Linux and there is a problem that we are struggling with and hope someone can help.</div><div><br></div><div>When we open a plug-in window on Linux we use XCB to create a parent window (which is decorated by the window manager). We then ask the VST plug-in to put its window inside this window (as a child window).</div><div><br></div><div>This all works fine in terms of displaying the window. The problem we have is in dispatching key events. We would like key events to go to our window when the window is focused so that we can do special actions like play notes or start the transport. We do get key events when our window is focused AND the mouse is in the window manager title bar area. However as soon as the mouse moves inside of the plug-in window we no longer get the key press or release events.</div><div><br></div><div>It seems as though the X server is sending it to the plug-in child window that wants key events and is current under the mouse cursor. We would like to just always get the key events to our window as the plug-in APIs have ways of dispatching key press and release events to the plugins.</div><div><br></div><div>Is there some flag or set of window manager hints that we need to set for this behaviour? I've spent a long time searching to no avail. Any help would be greatly appreciated!</div><div><br></div><div>thanks in advance,</div><div><br></div><div>Nicholas Allen</div></div>