[client] x11: don't override the focus state if no EWMH focus support
This commit is contained in:
1 parent
65948034dd
commit
ad40ea4195
1 file changed
+1
-1
@@ -950,7 +950,7 @@ static int x11EventThread(void * unused)
|
||||
focused = true;
|
||||
}
|
||||
|
||||
if (x11.focused != focused)
|
||||
if (x11.ewmhHasFocusEvent && x11.focused != focused)
|
||||
{
|
||||
x11.focused = focused;
|
||||
app_handleFocusEvent(focused);
|
||||
|
||||
Reference in new issue
Block a user