try harder to set the x,y position on x11

refs: #1794
This commit is contained in:
Wez Furlong committed 2022-04-03 17:01:03 -07:00
1 parent 54d503de9d
commit 603f6d69ce
1 file changed
+4
+4
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)
}
}