Searched refs:wmhints (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/libX11/dist/src/
H A DSetHints.c112 XWMHints *wmhints)
116 prop.flags = wmhints->flags;
117 if (wmhints->flags & InputHint)
118 prop.input = (wmhints->input == True ? 1 : 0);
119 if (wmhints->flags & StateHint)
120 prop.initialState = wmhints->initial_state;
121 if (wmhints->flags & IconPixmapHint)
122 prop.iconPixmap = wmhints->icon_pixmap;
123 if (wmhints->flags & IconWindowHint)
124 prop.iconWindow = wmhints
109 XSetWMHints(Display * dpy,Window w,XWMHints * wmhints) argument
[all...]
/xsrc/external/mit/twm/dist/src/
H A Dicons.c173 if (tmp_win->wmhints && (tmp_win->wmhints->flags & IconPositionHint))
378 if (pm == None && tmp_win->wmhints &&
379 tmp_win->wmhints->flags & IconPixmapHint) {
381 XGetGeometry(dpy, tmp_win->wmhints->icon_pixmap,
392 XCopyPlane(dpy, tmp_win->wmhints->icon_pixmap, pm, Scr->NormalGC,
479 if (tmp_win->wmhints && tmp_win->wmhints->flags & IconWindowHint) {
480 tmp_win->icon_w = tmp_win->wmhints->icon_window;
487 tmp_win->wmhints
[all...]
H A Devents.c816 if (Tmp_win->wmhints)
817 XFree(Tmp_win->wmhints);
818 Tmp_win->wmhints = XGetWMHints(dpy, Event.xany.window);
820 if (Tmp_win->wmhints && (Tmp_win->wmhints->flags & WindowGroupHint))
821 Tmp_win->group = Tmp_win->wmhints->window_group;
823 if (Tmp_win->icon_not_ours && Tmp_win->wmhints &&
824 !(Tmp_win->wmhints->flags & IconWindowHint)) {
839 if (!Tmp_win->forced && Tmp_win->wmhints &&
840 Tmp_win->wmhints
[all...]
H A Dadd_window.c238 tmp_win->wmhints = XGetWMHints(dpy, tmp_win->w);
240 if (tmp_win->wmhints) {
242 tmp_win->wmhints->initial_state = IconicState;
243 tmp_win->wmhints->flags |= StateHint;
247 tmp_win->wmhints->icon_x = restore_icon_x;
248 tmp_win->wmhints->icon_y = restore_icon_y;
249 tmp_win->wmhints->flags |= IconPositionHint;
253 if (tmp_win->wmhints && (tmp_win->wmhints->flags & WindowGroupHint))
254 tmp_win->group = tmp_win->wmhints
[all...]
H A Dtwm.h268 XWMHints *wmhints; /* WM hints */ member in struct:TwmWindow
H A Dtwm.c881 if (tmp->wmhints && (tmp->wmhints->flags & IconWindowHint)) {
882 XUnmapWindow(dpy, tmp->wmhints->icon_window);
H A Dmenus.c1854 if (!tmp_win->wmhints || tmp_win->wmhints->input)
/xsrc/external/mit/ctwm/dist/
H A Dwindowbox.c44 XWMHints wmhints; local in function:createWindowBoxes
80 wmhints.initial_state = NormalState;
81 wmhints.input = True;
82 wmhints.flags = InputHint | StateHint;
85 &sizehints, &wmhints, NULL);
H A Dctwm_shutdown.c159 if(tmp->wmhints->flags & IconWindowHint) {
160 XUnmapWindow(dpy, tmp->wmhints->icon_window);
H A Dicons.c515 if(image == NULL && tmp_win->wmhints->flags & IconPixmapHint) {
518 if(XGetGeometry(dpy, tmp_win->wmhints->icon_pixmap,
526 XCopyArea(dpy, tmp_win->wmhints->icon_pixmap, image->pixmap, Scr->NormalGC,
529 XCopyPlane(dpy, tmp_win->wmhints->icon_pixmap, image->pixmap, Scr->NormalGC,
536 if((tmp_win->wmhints->flags & IconMaskHint) &&
537 XGetGeometry(dpy, tmp_win->wmhints->icon_mask,
546 XCopyArea(dpy, tmp_win->wmhints->icon_mask, image->mask, gc,
623 if(tmp_win->wmhints->flags & IconWindowHint) {
624 icon->w = tmp_win->wmhints->icon_window;
630 tmp_win->wmhints
[all...]
H A Dtwm_window_struct.h156 XWMHints *wmhints; member in struct:TwmWindow
H A Devent_handlers.c371 if(! Tmp_win->wmhints->input) {
1253 XFree(Tmp_win->wmhints);
1254 Tmp_win->wmhints = munge_wmhints(Tmp_win, nhints);
1266 Tmp_win->wmhints->flags &= ~(IconWindowHint | IconPixmapHint | IconMaskHint);
1269 if(Tmp_win->wmhints->flags & IconWindowHint) {
1283 XMoveWindow(dpy, Tmp_win->wmhints->icon_window, icon_x,
1291 XMapWindow(dpy, Tmp_win->wmhints->icon_window);
1299 if(icon->w != Tmp_win->wmhints->icon_window) {
1319 icon->w = Tmp_win->wmhints->icon_window;
1329 (Tmp_win->wmhints
[all...]
H A Dadd_window.c336 tmp_win->wmhints = XGetWMHints(dpy, tmp_win->w);
337 if(!tmp_win->wmhints) {
338 tmp_win->wmhints = gen_synthetic_wmhints(tmp_win);
339 if(!tmp_win->wmhints) {
352 tmp_win->wmhints->initial_state = IconicState;
353 tmp_win->wmhints->flags |= StateHint;
357 tmp_win->wmhints->icon_x = restore_icon_x;
358 tmp_win->wmhints->icon_y = restore_icon_y;
359 tmp_win->wmhints->flags |= IconPositionHint;
364 munge_wmhints(tmp_win, tmp_win->wmhints);
[all...]
H A Diconmgr.c152 XWMHints wmhints; local in function:CreateIconManagers
162 wmhints.initial_state = NormalState;
163 wmhints.input = True;
164 wmhints.flags = InputHint | StateHint;
170 &wmhints, &clhints);
212 if(p->twm_win && (p->twm_win->wmhints->initial_state == IconicState)) {
H A Doccupation.c258 if(twm_win->wmhints->flags & StateHint) {
259 state = twm_win->wmhints->initial_state;
778 XWMHints wmhints; local in function:CreateOccupyWindow
788 wmhints.flags = InputHint | StateHint;
789 wmhints.input = True;
790 wmhints.initial_state = NormalState;
793 NULL, 0, &sizehints, &wmhints, NULL);
H A Dctwm_main.c1376 XWMHints wmhints; local in function:CreateCaptiveRootWindow
1382 wmhints.initial_state = NormalState;
1383 wmhints.input = True;
1384 wmhints.flags = InputHint | StateHint;
1387 &wmhints, NULL);
H A Dworkspace_manager.c463 XWMHints wmhints; local in function:CreateWorkSpaceManagerWindow
481 wmhints.flags = InputHint | StateHint;
482 wmhints.input = True;
483 wmhints.initial_state = NormalState;
486 &sizehints, &wmhints, NULL);
/xsrc/external/mit/xwininfo/dist/
H A Dxwininfo.c1659 xcb_icccm_wm_hints_t wmhints; local in function:Display_WM_Info
1663 if (!xcb_icccm_get_wm_hints_reply(dpy, w->hints_cookie, &wmhints, &err))
1670 flags = wmhints.flags;
1676 Lookup (wmhints.input, _bool));
1680 iw.window = wmhints.icon_window;
1690 xscale (wmhints.icon_x), yscale (wmhints.icon_y));
1694 Lookup (wmhints.initial_state, _state_hints));

Completed in 32 milliseconds