You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm porting some C code to Rust and I just had to dig these values out of X11/Xutil.h in order to move the part that interpreted the result of XParseGeometry into Rust.
/* * Bitmask returned by XParseGeometry(). Each bit tells if the corresponding * value (x, y, width, height) was found in the parsed string. */#defineNoValue 0x0000
#defineXValue 0x0001
#defineYValue 0x0002
#defineWidthValue 0x0004
#defineHeightValue 0x0008
#defineAllValues 0x000F
#defineXNegative 0x0010
#defineYNegative 0x0020
It would be nice if these values were available through this crate.
The text was updated successfully, but these errors were encountered:
I'm porting some C code to Rust and I just had to dig these values out of
X11/Xutil.h
in order to move the part that interpreted the result ofXParseGeometry
into Rust.It would be nice if these values were available through this crate.
The text was updated successfully, but these errors were encountered: