diff options
-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 55923e5a..71c9d203 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; |