Questions Tagged With window-focushttp://linuxexchange.org/tags/window-focus/?type=rssquestions tagged <span class="tag">window-focus</span>enMon, 02 Aug 2010 07:36:33 -0400Possible to capture window focus & title changes in any Linux WM?http://linuxexchange.org/questions/1168/possible-to-capture-window-focus-title-changes-in-any-linux-wm<p>Is it possible to create a small program that runs in the background/systray/wherever that can capture when windows gain and lose focus, or when a window title changes (for example when changing tabs in a browser)? </p> <p>Are there any API hooks or other ways of doing this in any Linux WM or desktop?</p>KurtosisMon, 02 Aug 2010 07:36:33 -0400http://linuxexchange.org/questions/1168/possible-to-capture-window-focus-title-changes-in-any-linux-wmwindow-managerwindow-focusMouse pointer gets trapped in game windowshttp://linuxexchange.org/questions/565/mouse-pointer-gets-trapped-in-game-windows<p>I think this is an SDL "feature". I am playing a game in a window, I receive an instant message, pause, want to reply, but cannot because all my keypresses are handled by the game and then discarded, so no alt+tab, and the mouse pointer cannot leave the game window. Is there a way to take the focus away from those SDL windows?</p>atillaThu, 13 May 2010 20:45:21 -0400http://linuxexchange.org/questions/565/mouse-pointer-gets-trapped-in-game-windowssdlgamemousealt-tabwindow-focus