x11: fix resize increments
Set atom with property (type) WM_NORMAL_HINTS (WM_SIZE_HINTS) instead of WM_SIZE_HINTS (CARDINAL).
This commit is contained in:
1 parent
bf07f6de0f
commit
1d4a407df9
1 file changed
+2
-2
@@ -1556,8 +1556,8 @@ impl XWindowInner {
|
||||
self.conn().send_request_no_reply(&xcb::x::ChangeProperty {
|
||||
mode: PropMode::Replace,
|
||||
window: self.window_id,
|
||||
property: xcb::x::ATOM_WM_SIZE_HINTS,
|
||||
r#type: xcb::x::ATOM_CARDINAL,
|
||||
property: xcb::x::ATOM_WM_NORMAL_HINTS,
|
||||
r#type: xcb::x::ATOM_WM_SIZE_HINTS,
|
||||
data,
|
||||
})?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user