Home | History | Annotate | Download | only in x11

Lines Matching defs:hints

330     XWMHints *hints;
384 hints = NULL;
387 hints = XGetWMHints(SDL_Display, WMwindow);
401 /* Set the input hints so we get keyboard input */
402 if(!hints) {
403 hints = XAllocWMHints();
404 hints->input = True;
405 hints->flags = InputHint;
407 XSetWMHints(SDL_Display, WMwindow, hints);
408 XFree(hints);
415 /* Set the class hints so we can get an icon (AfterStep) */
776 XSizeHints *hints;
778 hints = XAllocSizeHints();
779 if ( hints ) {
781 hints->min_width = 32;
782 hints->min_height = 32;
783 hints->max_height = 4096;
784 hints->max_width = 4096;
786 hints->min_width = hints->max_width = w;
787 hints->min_height = hints->max_height = h;
789 hints->flags = PMaxSize | PMinSize;
791 hints->x = 0;
792 hints->y = 0;
793 hints->flags |= USPosition;
796 if ( X11_WindowPosition(this, &hints->x, &hints->y, w, h) ) {
797 hints->flags |= USPosition;
798 XMoveWindow(SDL_Display, WMwindow, hints->x, hints->y);
803 XSetWMNormalHints(SDL_Display, WMwindow, hints);
804 XFree(hints);
812 /* We haven't modified the window manager hints yet */
815 /* First try to set MWM hints */
818 /* Hints used by Motif compliant window managers */
834 /* Now try to set KWM hints */
846 /* Now try to set GNOME hints */
858 /* Finally set the transient hints if necessary */
866 /* We haven't modified the window manager hints yet */
869 /* First try to unset MWM hints */
875 /* Now try to unset KWM hints */
881 /* Now try to unset GNOME hints */
887 /* Finally unset the transient hints if necessary */