mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
daemon: add requester to GameModeClient
Record the requester process id in the GameModeClient struct and add a getter for it.
This commit is contained in:

committed by
Alex Smith

parent
288b3a005e
commit
cfe0fb4f17
@ -70,6 +70,11 @@ pid_t game_mode_client_get_pid(GameModeClient *client);
|
||||
*/
|
||||
const char *game_mode_client_get_executable(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* The process identifier of the requester.
|
||||
*/
|
||||
pid_t game_mode_client_get_requester(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* The time that game mode was requested for the client.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user