Activate a window. This is generally a better choice than xdo_focus_window for a variety of reasons, but it requires window manager support: - If the window is on another desktop, that desktop is switched to. - It moves the window forward rather than simply focusing it
Send any events necessary to clear the active modifiers. For example, if you are holding 'alt' when xdo_get_active_modifiers is called, then this method will send a key-up for 'alt'
Send a click for a specific mouse button at the current mouse location.
Send a one or more clicks for a specific mouse button at the current mouse location.
Close a window without trying to kill the client.
Disable an xdo feature.
Enable an xdo feature.
Type a string to the specified window.
Find a client window (child) in a given window. Useful if you get the window manager's decorator window rather than the client window.
Focus a window.
Free and destroy an xdo_t instance.
Get a list of active keys. Uses XQueryKeymap.
Get a list of active keys. Uses XQueryKeymap.
Get the currently-active window. Requires your window manager to support this. Uses _NET_ACTIVE_WINDOW from the EWMH spec.
Get the current desktop. Uses _NET_CURRENT_DESKTOP of the EWMH spec.
Get the desktop a window is on. Uses _NET_WM_DESKTOP of the EWMH spec.
Get the position of the current viewport.
Get the window currently having focus.
Like xdo_get_focused_window, but return the first ancestor-or-self window * having a property of WM_CLASS. This allows you to get the "real" or top-level-ish window having focus rather than something you may not expect to be the window having focused.
Get the current input state. This is a mask value containing any of the following: ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, or Mod5Mask.
Get the current mouse location (coordinates and screen number).
Get all mouse location-related data.
Get the current number of desktops. Uses _NET_NUMBER_OF_DESKTOPS of the EWMH spec.
Get the PID owning a window. Not all applications support this. It looks at the _NET_WM_PID property of the window.
If you need the symbol map, use this method.
Query the viewport (your display) dimensions
Get the window the mouse is currently over
Get a window's location.
Get a window's name, if any.
Get property of window by name of atom.
Generic property fetch.
Get a window's size.
Check if a feature is enabled.
Kill a window and the client owning it.
Map a window. This mostly means to make the window visible if it is not currently mapped.
Minimize a window.
Send a mouse press (aka mouse down) for a given button at the current mouse location.
Send a mouse release (aka mouse up) for a given button at the current mouse location.
Move the mouse to a specific location.
Move the mouse relative to it's current position.
Move the mouse to a specific location relative to the top-left corner of a window.
Move a window to a specific location.
Create a new xdo_t instance.
Create a new xdo_t instance with an existing X11 Display instance.
Raise a window to the top of the window stack. This is also sometimes termed as bringing the window forward.
Reparents a window
Search for windows.
Get a window ID by clicking on it. This function blocks until a selection is made.
Send a keysequence to the specified window.
Send key press (down) events for the given key sequence.
Send a series of keystrokes.
Send key release (up) events for the given key sequence.
Send any events necessary to make these modifiers active. This is useful if you just cleared the active modifiers and then wish to restore them after.
Switch to another desktop. Uses _NET_CURRENT_DESKTOP of the EWMH spec.
Move a window to another desktop Uses _NET_WM_DESKTOP of the EWMH spec.
Set the position of the current viewport.
Set the number of desktops. Uses _NET_NUMBER_OF_DESKTOPS of the EWMH spec.
Change the window's classname and or class.
Set the override_redirect value for a window. This generally means whether or not a window manager will manage this window.
Change a window property.
Change the window size.
Sets the urgency hint for a window.
Apply a window's sizing hints (if any) to a given width and height.
Unmap a window
Return a string representing the version of this library
Wait for the mouse to move from a location. This function will block until the condition has been satisfied.
Wait for the mouse to move to a location. This function will block until the condition has been satisfied.
Wait for a window to be active or not active.
Wait for a window to have or lose focus.
Wait for a window to have a specific map state.
CURRENTWINDOW is a special identify for xdo input faking (mouse and keyboard) functions like xdo_send_keysequence_window that indicate we should target the current window, not a specific window.
Search only window class. @see xdo_search_windows
Search only window class name. @see xdo_search
Search a specific desktop @see xdo_search.screen @see xdo_search_windows
Search only window name. @see xdo_search_windows
Search only visible windows. @see xdo_search_windows
Search only window pid. @see xdo_search_windows
Search only a specific screen. @see xdo_search.screen @see xdo_search_windows
Search only window title. DEPRECATED - Use SEARCH_NAME @see xdo_search_windows
When issuing a window size change, giving this flag will make the size change be relative to the size hints of the window. For terminals, this generally means that the window size will be relative to the font size, allowing you to change window sizes based on character rows and columns instead of pixels.
Find a client window that is a child of the window given
Find a client window that is a parent of the window given
@internal Map character to whatever information we need to be able to send this key (keycode, modifiers, group, etc)
The main context.
The window search query structure.