XSetWMHints(3X11)XSetWMHints(3X11)Name
XSetWMHints, XGetWMHints - set or get window manager hints
Syntax
XSetWMHints(display, w, wmhints)
Display *display;
Window w;
XWMHints *wmhints;
XWMHints *XGetWMHints(display, w)
Display *display;
Window w;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
wmhints Specifies a pointer to the window manager hints.
Description
The function sets the window manager hints that include icon information and location, the initial state of the window, and whether the
application relies on the window manager to get keyboard input.
can generate and errors.
The function reads the window manager hints and returns NULL if no WM_HINTS property was set on the window or a pointer to a structure if
it succeeds. When finished with the data, free the space used for it by calling
can generate a error.
Property
WM_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See AlsoXSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStan-
dardProperties(3X11), XSetTransientForHint(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetWMHints(3X11)
Check Out this Related Man Page
XSetZoomHints(3X11)XSetZoomHints(3X11)Name
XSetZoomHints, XGetZoomHints - set or get zoom state hints
Syntax
XSetZoomHints(display, w, zhints)
Display *display;
Window w;
XSizeHints *zhints;
Status XGetZoomHints(display, w, zhints_return)
Display *display;
Window w;
XSizeHints *zhints_return;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
zhints Specifies a pointer to the zoom hints.
zhints_return
Returns the zoom hints.
Description
Many window managers think of windows in one of three states: iconic, normal, or zoomed. The function provides the window manager with
information for the window in the zoomed state.
can generate and errors.
The function returns the size hints for a window in its zoomed state. It returns a nonzero status if it succeeds or zero if the applica-
tion specified no zoom size hints for this window.
can generate a error.
Property
WM_ZOOM_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See AlsoXSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStan-
dardProperties(3X11), XSetTransientForHint(3X11), XSetWMHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetZoomHints(3X11)
Hi UNIX guys,
I occasionally meet such problem when I am using my X Window:
The machine suddenly hangs up. Mouse pointer doesn't move, Ctrl+Alt+Del doesn't work, Ctrl+Alt+Backspace doesn't work either. I have to turn the power off to reboot.
My machine is like following,
- OS: Red Hat... (2 Replies)
Dear all !
When I use X-manager 1.3.9 to connect with server in HP -Unix .It's okey
But when I use it to connect with Sun Solaris 8 .It can't display
So can you help me to solve this (4 Replies)
An interesting puzzle. I run character based compiled C-Programs in a Unix environment on PCs in a Window. I want to be able to call up and display in a separate window a picture of a product called by a Unix shell script from within my Unix program.
Ideally I would like to have a script that... (4 Replies)
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)