This repository was archived by the owner on Mar 4, 2024. It is now read-only.
This repository was archived by the owner on Mar 4, 2024. It is now read-only.
enum gdk::ChangeData lacks variant UInt(u32) #103
Open
Description
I'm porting some C code using XCB to gdk:
xcb_change_property(c,
XCB_PROP_MODE_REPLACE,
win,
XCB_ATOM_WM_TRANSIENT_FOR,
XCB_ATOM_WINDOW,
32,
1,
&parent);
You see the format
argument is 32
and data_len
is 1
, but gdk::property_change()
cannot do such work because the argument type gdk::ChangeData
has only u8
, u16
and u64
variants.
Seems that passing a u64
should work, but I failed. I have to use gdk-sys
crate and everything behaves same as the C code.