diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-09-04 16:29:33 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-09-04 16:29:33 +0000 |
commit | 9a5109ffe0eb45c3dad269e0fe4f4481f086b704 (patch) | |
tree | 7a1a214e1e492d67910ea237032c4277449b154c | |
parent | 5dd451fd3e91c7c8c63f5bd760963d0cb4c3bc2a (diff) | |
parent | 707aa731172ebe468254b755d1bc12d7d6e32f0e (diff) | |
download | wayland-9a5109ffe0eb45c3dad269e0fe4f4481f086b704.tar.gz |
Merge "Add function to explicitly set debug_client flag"
-rw-r--r-- | src/wayland-client-core.h | 3 | ||||
-rw-r--r-- | src/wayland-client.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/wayland-client-core.h b/src/wayland-client-core.h index 03e781b..84c83bf 100644 --- a/src/wayland-client-core.h +++ b/src/wayland-client-core.h @@ -260,6 +260,9 @@ wl_display_read_events(struct wl_display *display); void wl_log_set_handler_client(wl_log_func_t handler); +void +wl_set_debug_client_flag(int value); + #ifdef __cplusplus } #endif diff --git a/src/wayland-client.c b/src/wayland-client.c index 03c087a..62e0812 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -2074,3 +2074,9 @@ wl_log_set_handler_client(wl_log_func_t handler) { wl_log_handler = handler; } + +WL_EXPORT void +wl_set_debug_client_flag(int value) +{ + debug_client = value; +} |