Home
last modified time | relevance | path

Searched refs:size_hints (Results 1 – 6 of 6) sorted by relevance

/third_party/cef/libcef/browser/native/
Dwindow_x11.cc173 ui::SizeHints size_hints; in Show() local
174 memset(&size_hints, 0, sizeof(size_hints)); in Show()
175 ui::GetWmNormalHints(xwindow_, &size_hints); in Show()
176 size_hints.flags |= ui::SIZE_HINT_P_POSITION; in Show()
177 size_hints.x = bounds_.x(); in Show()
178 size_hints.y = bounds_.y(); in Show()
179 ui::SetWmNormalHints(xwindow_, size_hints); in Show()
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng-x.c450 XSizeHints *size_hints; in rpng_x_create_window() local
577 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window()
579 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window()
580 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()
581 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
597 size_hints, wm_hints, class_hints); in rpng_x_create_window()
604 if (size_hints) in rpng_x_create_window()
605 XFree(size_hints); in rpng_x_create_window()
Drpng2-x.c851 XSizeHints *size_hints; in rpng2_x_create_window() local
961 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window()
963 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window()
964 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window()
965 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window()
982 size_hints, wm_hints, class_hints); in rpng2_x_create_window()
989 if (size_hints) in rpng2_x_create_window()
990 XFree(size_hints); in rpng2_x_create_window()
/third_party/libpng/contrib/gregbook/
Drpng-x.c450 XSizeHints *size_hints; in rpng_x_create_window() local
577 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window()
579 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window()
580 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()
581 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
597 size_hints, wm_hints, class_hints); in rpng_x_create_window()
604 if (size_hints) in rpng_x_create_window()
605 XFree(size_hints); in rpng_x_create_window()
Drpng2-x.c851 XSizeHints *size_hints; in rpng2_x_create_window() local
961 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window()
963 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window()
964 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window()
965 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window()
982 size_hints, wm_hints, class_hints); in rpng2_x_create_window()
989 if (size_hints) in rpng2_x_create_window()
990 XFree(size_hints); in rpng2_x_create_window()
/third_party/weston/xwayland/
Dwindow-manager.c173 struct wm_size_hints size_hints; member
548 window->size_hints.flags = 0; in weston_wm_window_read_properties()
597 memcpy(&window->size_hints, in weston_wm_window_read_properties()
599 sizeof window->size_hints); in weston_wm_window_read_properties()
2835 if ((window->size_hints.flags & (USSize |PSize)) && in legacy_fullscreen()
2836 window->size_hints.width == output->width && in legacy_fullscreen()
2837 window->size_hints.height == output->height) in legacy_fullscreen()
2839 if ((window->size_hints.flags & minmax) == minmax && in legacy_fullscreen()
2840 window->size_hints.min_width == output->width && in legacy_fullscreen()
2841 window->size_hints.min_height == output->height && in legacy_fullscreen()
[all …]