aboutsummaryrefslogtreecommitdiff
path: root/examples/tablet.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-15 23:06:13 -0500
committerGitHub <noreply@github.com>2018-01-15 23:06:13 -0500
commitbcb58b5caa203a5651a2a24d2038117a728348e7 (patch)
tree4611d2f398409793ae6b62d624afe848f0e21983 /examples/tablet.c
parentb331c5c2c5cbb94df66789e52ab87598647e0056 (diff)
parent264ef0c261db998ada651984136776fd336c4a72 (diff)
Merge pull request #567 from Timidger/example-logging
Fixed logging for examples
Diffstat (limited to 'examples/tablet.c')
-rw-r--r--examples/tablet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tablet.c b/examples/tablet.c
index 4eaa204a..f3cd5339 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -139,6 +139,7 @@ static void handle_pad_button(struct tablet_pad_state *pstate,
}
int main(int argc, char *argv[]) {
+ wlr_log_init(L_DEBUG, NULL);
struct sample_state state = {
.tool_color = { 1, 1, 1, 1 },
.pad_color = { 0.75, 0.75, 0.75, 1.0 }