howm
howm
location.h File Reference

howm More...

#include <xcb/xcb.h>
#include "types.h"

Go to the source code of this file.

Functions

bool loc_win (location_t *loc, xcb_window_t w)
 Search all workspaces on all monitors for a window, populating r_loc upon success. More...
 
bool loc_client (location_t *loc, client_t *c)
 Search all workspaces on all monitors for a client, populating loc upon success. More...
 

Detailed Description

howm

Author
Harvey Hunt
Date
2016

Function Documentation

bool loc_client ( location_t r_loc,
client_t c 
)
inline

Search all workspaces on all monitors for a client, populating loc upon success.

Parameters
r_locWill be populated upon finding the client.
cA client that is used when searching all clients across all desktops.
Returns
True upon finding the client, False otherwise.
bool loc_win ( location_t r_loc,
xcb_window_t  win 
)

Search all workspaces on all monitors for a window, populating r_loc upon success.

Parameters
r_locWill be populated upon finding the window.
winA valid XCB window that is used when searching all clients. across all desktops.
Returns
True upon finding the window, False otherwise.