diff options
Diffstat (limited to 'src/xmonitor.c')
-rw-r--r-- | src/xmonitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmonitor.c b/src/xmonitor.c index ef89efd..2260133 100644 --- a/src/xmonitor.c +++ b/src/xmonitor.c @@ -161,6 +161,9 @@ HAPI int xmonitor_update_state(int target_pid) struct client_node *client; int pid; + if (!USE_XMONITOR) + return 0; + win = ecore_x_window_focus_get(); pid = get_pid(win); |