xdo_search

The window search query structure.

@see xdo_search_windows

Members

Enums

SEARCH_ANY
anonymousenum SEARCH_ANY

Should the tests be 'and' or 'or' ? If 'and', any failure will skip the * window. If 'or', any success will keep the window in search results.

Variables

desktop
long desktop;

What desktop to search, if any. If none given, search all screens.

limit
uint limit;

How many results to return? If 0, return all.

max_depth
long max_depth;

depth of search. 1 means only toplevel windows

only_visible
int only_visible;

boolean; set true to search only visible windows

pid
int pid;

window pid (From window atom _NET_WM_PID)

require
int require;
Undocumented in source.
screen
int screen;

what screen to search, if any. If none given, search all screens

searchmask
uint searchmask;

bitmask of things you are searching for, such as SEARCH_NAME, etc. @see SEARCH_NAME, SEARCH_CLASS, SEARCH_PID, SEARCH_CLASSNAME, etc

title
char* title;

pattern to test against a window title

winclass
char* winclass;

pattern to test against a window class

winclassname
char* winclassname;

pattern to test against a window class

winname
char* winname;

pattern to test against a window name

Meta