1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-29 21:44:24 +03:00

try harder to set the x,y position on x11

refs: #1794
This commit is contained in:
Wez Furlong 2022-04-03 17:01:03 -07:00
parent 54d503de9d
commit 603f6d69ce

View File

@ -962,6 +962,10 @@ impl XWindow {
window_handle.set_title(name);
window_handle.show();
// Some window managers will ignore the x,y that we set during window
// creation, so we ask them again once the window is mapped
window_handle.set_window_position(ScreenPoint::new(x.into(), y.into()));
Ok(window_handle)
}
}