Lines Matching defs:hints
53 // Motif WM hints flags
268 // Updates the normal hints according to the window settings
272 XSizeHints* hints = XAllocSizeHints();
275 XGetWMNormalHints(_glfw.x11.display, window->x11.handle, hints, &supplied);
277 hints->flags &= ~(PMinSize | PMaxSize | PAspect);
286 hints->flags |= PMinSize;
287 hints->min_width = window->minwidth;
288 hints->min_height = window->minheight;
294 hints->flags |= PMaxSize;
295 hints->max_width = window->maxwidth;
296 hints->max_height = window->maxheight;
302 hints->flags |= PAspect;
303 hints->min_aspect.x = hints->max_aspect.x = window->numer;
304 hints->min_aspect.y = hints->max_aspect.y = window->denom;
309 hints->flags |= (PMinSize | PMaxSize);
310 hints->min_width = hints->max_width = width;
311 hints->min_height = hints->max_height = height;
315 XSetWMNormalHints(_glfw.x11.display, window->x11.handle, hints);
316 XFree(hints);
695 XWMHints* hints = XAllocWMHints();
696 if (!hints)
699 "X11: Failed to allocate WM hints");
703 hints->flags = StateHint;
704 hints->initial_state = NormalState;
706 XSetWMHints(_glfw.x11.display, window->x11.handle, hints);
707 XFree(hints);
712 XSizeHints* hints = XAllocSizeHints();
713 if (!hints)
715 _glfwInputError(GLFW_OUT_OF_MEMORY, "X11: Failed to allocate size hints");
721 hints->flags |= (PMinSize | PMaxSize);
722 hints->min_width = hints->max_width = width;
723 hints->min_height = hints->max_height = height;
730 hints->flags |= PPosition;
731 hints->x = 0;
732 hints->y = 0;
735 hints->flags |= PWinGravity;
736 hints->win_gravity = StaticGravity;
738 XSetWMNormalHints(_glfw.x11.display, window->x11.handle, hints);
739 XFree(hints);
2176 XSizeHints* hints = XAllocSizeHints();
2178 if (XGetWMNormalHints(_glfw.x11.display, window->x11.handle, hints, &supplied))
2180 hints->flags |= PPosition;
2181 hints->x = hints->y = 0;
2183 XSetWMNormalHints(_glfw.x11.display, window->x11.handle, hints);
2186 XFree(hints);
2633 } hints = {0};
2635 hints.flags = MWM_HINTS_DECORATIONS;
2636 hints.decorations = enabled ? MWM_DECOR_ALL : 0;
2642 (unsigned char*) &hints,
2643 sizeof(hints) / sizeof(long));
3095 if (_glfw.hints.init.angleType == GLFW_ANGLE_PLATFORM_TYPE_OPENGL)
3101 if (_glfw.hints.init.angleType == GLFW_ANGLE_PLATFORM_TYPE_VULKAN)