mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
[client] x11: don't override the focus state if no EWMH focus support
This commit is contained in:
parent
65948034dd
commit
ad40ea4195
@ -950,7 +950,7 @@ static int x11EventThread(void * unused)
|
|||||||
focused = true;
|
focused = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x11.focused != focused)
|
if (x11.ewmhHasFocusEvent && x11.focused != focused)
|
||||||
{
|
{
|
||||||
x11.focused = focused;
|
x11.focused = focused;
|
||||||
app_handleFocusEvent(focused);
|
app_handleFocusEvent(focused);
|
||||||
|
Loading…
Reference in New Issue
Block a user