Searched refs:size_hints (Results 1 – 3 of 3) sorted by relevance
130 XSizeHints* size_hints = XAllocSizeHints(); in Resize() local131 if (size_hints == NULL) { in Resize()134 size_hints->flags = PAspect; in Resize()135 size_hints->min_aspect.x = size_hints->max_aspect.x = width_; in Resize()136 size_hints->min_aspect.y = size_hints->max_aspect.y = height_; in Resize()137 XSetWMNormalHints(display_, window_, size_hints); in Resize()138 XFree(size_hints); in Resize()
449 XSizeHints *size_hints; in rpng_x_create_window() local576 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window()578 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window()579 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()580 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()596 size_hints, wm_hints, class_hints); in rpng_x_create_window()603 if (size_hints) in rpng_x_create_window()604 XFree(size_hints); in rpng_x_create_window()
842 XSizeHints *size_hints; in rpng2_x_create_window() local952 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window()954 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window()955 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window()956 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window()973 size_hints, wm_hints, class_hints); in rpng2_x_create_window()980 if (size_hints) in rpng2_x_create_window()981 XFree(size_hints); in rpng2_x_create_window()