Lines Matching refs:hints
331 XWMHints *hints;
387 hints = NULL;
390 hints = XGetWMHints(SDL_Display, WMwindow);
402 /* Set the input hints so we get keyboard input */
403 if(!hints) {
404 hints = XAllocWMHints();
405 hints->input = True;
406 hints->flags = InputHint;
408 XSetWMHints(SDL_Display, WMwindow, hints);
409 XFree(hints);
416 /* Set the class hints so we can get an icon (AfterStep) */
797 XSizeHints *hints;
799 hints = XAllocSizeHints();
800 if ( hints ) {
802 hints->min_width = hints->max_width = w;
803 hints->min_height = hints->max_height = h;
804 hints->flags = PMaxSize | PMinSize;
807 hints->x = 0;
808 hints->y = 0;
809 hints->flags |= USPosition;
812 if ( X11_WindowPosition(this, &hints->x, &hints->y, w, h) ) {
813 hints->flags |= USPosition;
817 XSetWMNormalHints(SDL_Display, WMwindow, hints);
819 XMoveWindow(SDL_Display, WMwindow, hints->x, hints->y);
824 XSetWMNormalHints(SDL_Display, WMwindow, hints);
825 XFree(hints);
833 /* We haven't modified the window manager hints yet */
836 /* First try to set MWM hints */
855 /* Now try to set KWM hints */
867 /* Now try to set GNOME hints */
879 /* Finally set the transient hints if necessary */
887 /* We haven't modified the window manager hints yet */
890 /* First try to unset MWM hints */
896 /* Now try to unset KWM hints */
902 /* Now try to unset GNOME hints */
908 /* Finally unset the transient hints if necessary */