Searched refs:size_hints (Results 1 – 2 of 2) sorted by relevance
443 XSizeHints *size_hints; in rpng_x_create_window() local570 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window()572 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window()573 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()574 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()590 size_hints, wm_hints, class_hints); in rpng_x_create_window()597 if (size_hints) in rpng_x_create_window()598 XFree(size_hints); in rpng_x_create_window()
838 XSizeHints *size_hints; in rpng2_x_create_window() local948 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window()950 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window()951 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window()952 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window()969 size_hints, wm_hints, class_hints); in rpng2_x_create_window()976 if (size_hints) in rpng2_x_create_window()977 XFree(size_hints); in rpng2_x_create_window()