wid
Wid is a term that can refer to several concepts depending on context. In computing, wid is a common shorthand for window identifier, the unique handle a windowing system assigns to a window. Window IDs are used by applications and window managers to target operations such as moving, resizing, focusing, or decorating a window. In the X Window System, a window’s ID is a numeric handle seen in APIs and tools; it may be represented as a decimal or hexadecimal value and is valid only within the lifetime of the X session. Software libraries frequently store a window’s identifier in a variable named wid or winid, enabling scripts and programs to script interactions with the window manager or other clients.
Beyond computing, wid may appear as a word or acronym in different contexts, and is not tied