src/client_idle.h File Reference
#include <stdbool.h>
Go to the source code of this file.
Function Documentation
void client_idle_add |
( |
struct client * |
client, |
|
|
unsigned |
flags | |
|
) |
| | |
bool client_idle_wait |
( |
struct client * |
client, |
|
|
unsigned |
flags | |
|
) |
| | |
Checks whether the client has pending idle flags.
If yes, they are sent immediately and "true" is returned. If no, it puts the client into waiting mode and returns false.
void client_manager_idle_add |
( |
unsigned |
flags |
) |
|
Adds the specified idle flags to all clients and immediately sends notifications to all waiting clients.