xdo_translate_window_with_sizehint

Apply a window's sizing hints (if any) to a given width and height.

This function wraps XGetWMNormalHints() and applies any resize increment and base size to your given width and height values.

@param window the window to use @param width the unit width you want to translate @param height the unit height you want to translate @param width_ret the return location of the translated width @param height_ret the return location of the translated height

extern (C) nothrow @nogc
int
xdo_translate_window_with_sizehint
(
const xdo_t* xdo
,
Window window
,
uint width
,
uint height
,
uint* width_ret
,)

Meta