x11: query focus after repaint delay
The focus events used to trigger a query of geometry are inaccurate, so the window's focus state should also be queried. refs: #2063 refs: #1992
This commit is contained in:
1 parent
3f01c04911
commit
4f015e66bc
1 file changed
+1
@@ -564,6 +564,7 @@ impl XWindowInner {
|
||||
async_io::Timer::after(std::time::Duration::from_millis(delay)).await;
|
||||
XConnection::with_window_inner(window_id, |inner| {
|
||||
inner.sure_about_geometry = false;
|
||||
inner.verify_focus = true;
|
||||
inner.invalidate();
|
||||
Ok(())
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user