[ShellWindowTracker] Add shell_window_tracker_app_from_pid
In some situations we might need to look up an application from a process identifier, such as the notification system where we will determine application from the message sender.
This commit is contained in:
@@ -36,6 +36,8 @@ GSList * shell_window_tracker_get_running_apps (ShellWindowTracker *monitor,
|
||||
|
||||
ShellApp *shell_window_tracker_get_window_app (ShellWindowTracker *monitor, MetaWindow *metawin);
|
||||
|
||||
ShellApp *shell_window_tracker_get_app_from_pid (ShellWindowTracker *monitor, int pid);
|
||||
|
||||
gboolean shell_window_tracker_is_window_interesting (MetaWindow *window);
|
||||
|
||||
const char *_shell_window_tracker_get_app_context (ShellWindowTracker *tracker, ShellApp *app);
|
||||
|
Reference in New Issue
Block a user