mirror of
https://github.com/wez/wezterm.git
synced 2024-11-25 21:07:39 +03:00
x11: fix positioning with --position arg
The child window should always have position 0,0.
This was a regression from commit 809bcc55
.
Fixes #5395.
This commit is contained in:
parent
23e7c14a98
commit
814857cd69
@ -1435,8 +1435,8 @@ impl XWindow {
|
|||||||
depth: conn.depth,
|
depth: conn.depth,
|
||||||
wid: child_id,
|
wid: child_id,
|
||||||
parent: window_id,
|
parent: window_id,
|
||||||
x: x.unwrap_or(0).try_into()?,
|
x: 0,
|
||||||
y: y.unwrap_or(0).try_into()?,
|
y: 0,
|
||||||
width: width.try_into()?,
|
width: width.try_into()?,
|
||||||
height: height.try_into()?,
|
height: height.try_into()?,
|
||||||
border_width: 0,
|
border_width: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user