Knowledge (XXG)

Root window

Source 📝

25: 122: 144:
Since every window covers the part of its parent it is staying on, all other windows appear to be above the root window. As a result, the root window is visible as the part of the screen that is behind all other windows. In other words, the root window forms the background of the screen. An image can
268:: when the screensaver is activated, this program creates a virtual root window, places it at the top of all other windows, and calls one of its hacks (modules), which finds the virtual root window and draws in it. 241:
of the real root window to contain a list of the windows that are acting as virtual root windows; the virtual root window that is currently active can be found in the property
264:
use a virtual background window (which contains the icons, for example) but do not reparent the other windows to this one. The virtual root window is also used by
294: 226:
in a direct child of the real root window. Technically, many programs use the macros for finding the root windows as redefined by an include file named
141:
created is contained within it, forming a hierarchy with the root window at the very top. All other windows are either children or descendants of it.
125:
A possible placement of some windows: 1 is the root window, which covers the whole screen; 2 and 3 are top-level windows; 4 and 5 are subwindows of 2.
207:
using the virtual root window reparent all windows to it instead of to the real root window. Virtual root windows are mainly used by
108: 218:
Other clients (beside the window manager) may need to use the virtual root window. The identifier of this window can be found in a
175:
The properties of the root window are sometimes used as a rudimentary form of inter-client communication means. For example, the
257: 46: 219: 89: 61: 42: 208: 68: 352: 35: 372: 149:
of the screen by setting it as the background image of the root window. This can be done for example using the
75: 179:
are properties of the root window that are used for copying selected text from a window to another, and the
164:. These windows are usually drawn with a decorative frame and a title bar (which are actually added by the 57: 176: 146: 138: 356: 154: 346: 277: 204: 289: 212: 130: 168:). The top-level windows are, informally, the regular windows in the terminology of most 82: 359:
that contains information about virtual root/desktop windows for various window managers
165: 366: 265: 234: 184: 24: 203:. From the point of view of the X protocol, this is a regular window. However, 121: 172:. The windows that are not top-level are used for buttons, textboxes, etc. 187:
are also stored, during execution, in a property of the root window.
183:
window manager displays the root window's name in a status area. The
318: 133:, a window is the region of the screen where drawing can occur. The 253: 249: 261: 196: 180: 169: 18: 248:
The virtual root window is used by the window managers swm,
237:
window manager specification requires a property named
49:. Unsourced material may be challenged and removed. 160:The direct children of the root window are called 8: 295:X Window System protocols and architecture 211:, for example, for realizing a number of 109:Learn how and when to remove this message 137:covers the entire screen surface. Every 120: 306: 7: 312: 310: 47:adding citations to reliable sources 272:Utilities that use the root window 14: 23: 34:needs additional citations for 199:window manager introduced the 1: 347:Extended Window Manager Hints 215:the user can switch between. 209:re-parenting window managers 389: 319:"X Window System Concepts" 245:of the real root window. 260:. Other systems such as 126: 124: 349:from freedesktop.org 243:_NET_CURRENT_DESKTOP 43:improve this article 355:, a source file of 317:Coopersmith, Alan. 201:virtual root window 191:Virtual root window 239:_NET_VIRTUAL_ROOTS 127: 205:X window managers 162:top-level windows 119: 118: 111: 93: 380: 334: 333: 331: 329: 323:X.org Foundation 314: 244: 240: 229: 225: 213:virtual desktops 152: 114: 107: 103: 100: 94: 92: 51: 27: 19: 388: 387: 383: 382: 381: 379: 378: 377: 373:X Window System 363: 362: 343: 338: 337: 327: 325: 316: 315: 308: 303: 290:X Window System 286: 274: 242: 238: 227: 223: 220:window property 193: 150: 145:be used as the 131:X Window System 115: 104: 98: 95: 52: 50: 40: 28: 17: 12: 11: 5: 386: 384: 376: 375: 365: 364: 361: 360: 350: 342: 341:External links 339: 336: 335: 305: 304: 302: 299: 298: 297: 292: 285: 282: 281: 280: 273: 270: 192: 189: 166:window manager 117: 116: 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 385: 374: 371: 370: 368: 358: 354: 351: 348: 345: 344: 340: 324: 320: 313: 311: 307: 300: 296: 293: 291: 288: 287: 283: 279: 276: 275: 271: 269: 267: 263: 259: 258:enlightenment 255: 251: 246: 236: 231: 221: 216: 214: 210: 206: 202: 198: 190: 188: 186: 182: 178: 173: 171: 167: 163: 158: 156: 148: 142: 140: 136: 132: 123: 113: 110: 102: 91: 88: 84: 81: 77: 74: 70: 67: 63: 60: –  59: 58:"Root window" 55: 54:Find sources: 48: 44: 38: 37: 32:This article 30: 26: 21: 20: 16:X Window term 326:. Retrieved 322: 266:XScreenSaver 247: 232: 217: 200: 194: 174: 161: 159: 143: 134: 128: 105: 96: 86: 79: 72: 65: 53: 41:Please help 36:verification 33: 353:toon_root.c 235:freedesktop 224:__SWM_VROOT 185:X resources 177:cut buffers 135:root window 301:References 157:programs. 69:newspapers 357:XPenguins 147:wallpaper 99:June 2024 367:Category 284:See also 151:xsetroot 328:June 2, 228:vroot.h 153:or the 129:In the 83:scholar 256:, and 222:named 139:window 85:  78:  71:  64:  56:  278:Conky 254:amiwm 250:tvtwm 90:JSTOR 76:books 330:2024 233:The 195:The 170:GUIs 62:news 262:KDE 230:. 197:swm 181:dwm 45:by 369:: 321:. 309:^ 252:, 155:xv 332:. 112:) 106:( 101:) 97:( 87:· 80:· 73:· 66:· 39:.

Index


verification
improve this article
adding citations to reliable sources
"Root window"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message

X Window System
window
wallpaper
xv
window manager
GUIs
cut buffers
dwm
X resources
swm
X window managers
re-parenting window managers
virtual desktops
window property
freedesktop
tvtwm
amiwm
enlightenment

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.