Added missing is_focused = true

main
isark 2 years ago
parent 0b2043cb17
commit b547770465

@ -175,6 +175,7 @@ impl Runtime {
if self.target.wid != x11rb::NONE {
if self.target.wid == wid {
if !self.target.is_focused {
self.target.is_focused = true;
self.underlay_tx.send(UnderlayEvent::Focus).ok();
}
return;
@ -189,7 +190,6 @@ impl Runtime {
self.target.wid = x11rb::NONE;
self.target.is_destroyed = false;
self.underlay_tx.send(UnderlayEvent::Detach).ok();
}
}

Loading…
Cancel
Save