howm
howm
location.c File Reference

howm More...

#include "howm.h"
#include "location.h"

Functions

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. More...
 
bool loc_client (location_t *r_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.