Home
last modified time | relevance | path

Searched refs:sizehints (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11window.c372 XSizeHints *sizehints; in X11_CreateWindow() local
512 sizehints = X11_XAllocSizeHints(); in X11_CreateWindow()
514 sizehints->flags = 0; in X11_CreateWindow()
516 sizehints->min_width = sizehints->max_width = window->w; in X11_CreateWindow()
517 sizehints->min_height = sizehints->max_height = window->h; in X11_CreateWindow()
518 sizehints->flags |= (PMaxSize | PMinSize); in X11_CreateWindow()
520 sizehints->x = window->x; in X11_CreateWindow()
521 sizehints->y = window->y; in X11_CreateWindow()
522 sizehints->flags |= USPosition; in X11_CreateWindow()
536 X11_XSetWMProperties(display, w, NULL, NULL, NULL, 0, sizehints, wmhints, classhints); in X11_CreateWindow()
[all …]
DSDL_x11messagebox.c378 XSizeHints *sizehints; in X11_MessageBoxCreateWindow() local
455 sizehints = X11_XAllocSizeHints(); in X11_MessageBoxCreateWindow()
456 if ( sizehints ) { in X11_MessageBoxCreateWindow()
457 sizehints->flags = USPosition | USSize | PMaxSize | PMinSize; in X11_MessageBoxCreateWindow()
458 sizehints->x = x; in X11_MessageBoxCreateWindow()
459 sizehints->y = y; in X11_MessageBoxCreateWindow()
460 sizehints->width = data->dialog_width; in X11_MessageBoxCreateWindow()
461 sizehints->height = data->dialog_height; in X11_MessageBoxCreateWindow()
463 sizehints->min_width = sizehints->max_width = data->dialog_width; in X11_MessageBoxCreateWindow()
464 sizehints->min_height = sizehints->max_height = data->dialog_height; in X11_MessageBoxCreateWindow()
[all …]
/third_party/mesa3d/src/gallium/targets/graw-xlib/
Dgraw_xlib.c122 XSizeHints sizehints; in graw_create_window_and_screen() local
123 sizehints.x = x; in graw_create_window_and_screen()
124 sizehints.y = y; in graw_create_window_and_screen()
125 sizehints.width = width; in graw_create_window_and_screen()
126 sizehints.height = height; in graw_create_window_and_screen()
127 sizehints.flags = USSize | USPosition; in graw_create_window_and_screen()
128 XSetNormalHints(graw.display, win, &sizehints); in graw_create_window_and_screen()
130 None, (char **)NULL, 0, &sizehints); in graw_create_window_and_screen()