projects
/
profile
/
ivi
/
wayland.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debug: Allow WAYLAND_DEBUG=server/client for server/client side only debug
[profile/ivi/wayland.git]
/
src
/
wayland-client.c
diff --git
a/src/wayland-client.c
b/src/wayland-client.c
index
5ab000c
..
4d0637b
100644
(file)
--- a/
src/wayland-client.c
+++ b/
src/wayland-client.c
@@
-502,7
+502,7
@@
wl_display_connect_to_fd(int fd)
const char *debug;
debug = getenv("WAYLAND_DEBUG");
- if (debug)
+ if (debug
&& (strstr(debug, "client") || strstr(debug, "1"))
)
wl_debug = 1;
display = malloc(sizeof *display);