Home | History | Annotate | Download | only in src

Lines Matching refs:shell

80 #include "Shell.h"
102 * Note: per the Xt spec, the Shell geometry management assumes in
123 * Shell class record
143 sizeof(Boolean), Offset(shell.allow_shell_resize),
146 Offset(shell.geometry), XtRString, (XtPointer)NULL},
148 sizeof(XtCreatePopupChildProc), Offset(shell.create_popup_child_proc),
151 Offset(shell.save_under), XtRImmediate, (XtPointer)False},
153 Offset(shell.popup_callback), XtRCallback, (XtPointer) NULL},
155 Offset(shell.popdown_callback), XtRCallback, (XtPointer) NULL},
157 XtRBoolean, sizeof(Boolean), Offset(shell.override_redirect),
160 Offset(shell.visual), XtRImmediate, (XtPointer)CopyFromParent}
190 /* class_name */ "Shell",
227 },{ /* Shell */
246 XtRBoolean, sizeof(Boolean), Offset(shell.override_redirect),
249 Offset(shell.save_under), XtRImmediate, (XtPointer)True},
479 Offset(shell.save_under), XtRImmediate, (XtPointer)True},
1037 w->shell.popped_up = FALSE;
1038 w->shell.client_specified = _XtShellNotReparented | _XtShellPositionValid;
1049 w->shell.client_specified |= _XtShellPPositionOK;
1226 if (!(w->shell.client_specified & _XtShellGeometryParsed)) {
1228 time we were realized. If the shell was Unrealized
1265 if (w->shell.save_under) {
1269 if (w->shell.override_redirect) {
1277 "Shell widget %s has zero width and/or height",
1288 w->shell.visual, mask, attr);
1406 else if (w->shell.client_specified & _XtShellPPositionOK)
1469 if (!XtIsWMShell((Widget) w) || w->shell.override_redirect)
1627 /* || w->shell.override_redirect */
1628 || w->shell.client_specified & _XtShellNotReparented) {
1631 w->shell.client_specified |= _XtShellPositionValid;
1634 w->shell.client_specified &= ~_XtShellPositionValid;
1650 w->shell.client_specified &=
1655 w->shell.client_specified |=
1713 "Shell \"%s\" is being resized to %d %d.\n",
1774 * If the Shell has a width and a height which are zero, and as such
1796 if (w->shell.geometry != NULL) {
1832 w->shell.geometry, def_geom,
1850 params[1] = w->shell.geometry;
1853 "Shell widget \"%s\" has an invalid geometry specification: \"%s\"",
1875 w->shell.client_specified |= _XtShellGeometryParsed;
1913 ShellWidget shell = (ShellWidget) (wid->core.parent);
1916 if (shell->shell.allow_shell_resize == FALSE && XtIsRealized(wid))
1935 if (XtMakeGeometryRequest((Widget) shell, &my_request, NULL)
1938 * shell->core.width == request->width
1940 * shell->core.height == request->height
1942 * so, whatever the WM sized us to (if the Shell requested
1947 wid->core.width = shell->core.width;
1948 wid->core.height = shell->core.height;
1989 s->shell.client_specified &= ~_XtShellNotReparented;
1991 s->shell.client_specified |= _XtShellNotReparented;
2143 "Shell \"%s\" is not realized, return XtGeometryYes.\n",
2151 CALLGEOTAT(_XtGeoTrace((Widget) w, "XConfiguring the Shell X window :\n"));
2176 if (wm && !w->shell.override_redirect
2181 if (w->shell.override_redirect) {
2184 "Shell \"%s\" is override redirect, return XtGeometryYes.\n",
2205 "Shell \"%s\" has wait_for_wm == FALSE, return XtGeometryNo.\n",
2271 w->shell.client_specified & _XtShellNotReparented) {
2275 w->shell.client_specified |= _XtShellPositionValid;
2278 w->shell.client_specified &= ~_XtShellPositionValid;
2294 "internalError", "shell", XtCXtToolkitError,
2295 "Shell's window manager interaction is broken",
2324 if (ow->shell.save_under != nw->shell.save_under) {
2326 attr.save_under = nw->shell.save_under;
2329 if (ow->shell.override_redirect != nw->shell.override_redirect) {
2331 attr.override_redirect = nw->shell.override_redirect;
2336 if ((mask & CWOverrideRedirect) && !nw->shell.override_redirect)
2340 if (!(ow->shell.client_specified & _XtShellPositionValid)) {
2364 Boolean set_prop = XtIsRealized(new) && !nwmshell->shell.override_redirect;
2435 !nwmshell->shell.override_redirect &&
2445 && XtWindow(new) && !nwmshell->shell.override_redirect) {
2527 Boolean map = new->shell.popped_up;
2535 if (!new->shell.override_redirect &&
2621 if (XtIsRealized(new) && !nw->shell.override_redirect) {
2785 !(w->shell.client_specified & _XtShellPositionValid)) {
2796 w->shell.client_specified |= _XtShellPositionValid;
2807 /* x and y resource values may be invalid after a shell resize */
2809 !(w->shell.client_specified & _XtShellPositionValid)) {