summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 267fecc..e44295c 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -276,7 +276,7 @@ int LibWindowmanager::Impl::requestSurface(json_object *object) {
fprintf(stderr, "putenv failed: %m\n");
rc = -errno;
} else {
- rc = 0; // Single point of success
+ rc = id; // Single point of success
}
} else {
fprintf(stderr, "Could not get surface ID from WM: %s\n",