Only send WM_TAKE_FOCUS when the client supports it in the protocols atom
Fixes launching xterm, for example
This commit is contained in:
@ -444,6 +444,9 @@ struct Client {
|
||||
* one. Therefore, this flag is set when reparenting. */
|
||||
bool awaiting_useless_unmap;
|
||||
|
||||
/* Whether the client needs WM_TAKE_FOCUS */
|
||||
bool needs_take_focus;
|
||||
|
||||
/* XCB contexts */
|
||||
xcb_window_t frame; /**< Our window: The frame around the
|
||||
* client */
|
||||
|
Reference in New Issue
Block a user