diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/window-props.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c index b27809ab..06df9e66 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -305,6 +305,8 @@ get_local_pid (MetaWindow *window) long i; pid = -1; + if (window->display->have_xres == FALSE) + return pid; spec.client = window->xwindow; spec.mask = XRES_CLIENT_ID_PID_MASK; |