libxdo
 All Data Structures Files Functions Variables Typedefs
Public Types | Data Fields
xdo_search Struct Reference

The window search query structure. More...

#include <xdo.h>

Public Types

enum  { SEARCH_ANY, SEARCH_ALL }
 what screen to search, if any. More...

Data Fields

char * title
char * winclass
 pattern to test against a window title
char * winclassname
 pattern to test against a window class
char * winname
 pattern to test against a window class
int pid
 pattern to test against a window name
long max_depth
 window pid (From window atom _NET_WM_PID)
int only_visible
 depth of search.
int screen
 boolean; set true to search only visible windows
enum xdo_search:: { ... }  require
 what screen to search, if any.
unsigned int searchmask
 bitmask of things you are searching for, such as SEARCH_NAME, etc.

Detailed Description

The window search query structure.

See also:
xdo_window_search

Member Enumeration Documentation

anonymous enum

what screen to search, if any.

If none given, search all screens 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.


Field Documentation

int xdo_search::only_visible

depth of search.

1 means only toplevel windows

enum { ... } xdo_search::require

what screen to search, if any.

If none given, search all screens 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.

unsigned int xdo_search::searchmask

bitmask of things you are searching for, such as SEARCH_NAME, etc.

See also:
SEARCH_NAME

The documentation for this struct was generated from the following file: