projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b147e4
)
xwm: debug _XWAYLAND_ALLOW_COMMITS
author
Pekka Paalanen
<pekka.paalanen@collabora.com>
Tue, 3 Dec 2019 14:23:45 +0000
(16:23 +0200)
committer
Pekka Paalanen
<pekka.paalanen@collabora.com>
Thu, 12 Dec 2019 11:15:52 +0000
(13:15 +0200)
Print the changes to the debug scope, helping to figure out why Xwayland is or
is not committing.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
xwayland/window-manager.c
patch
|
blob
|
history
diff --git
a/xwayland/window-manager.c
b/xwayland/window-manager.c
index 3643a4beec8146caef03e9cc0365209738fb0e51..8da5fde0cfa43b169d126b350c62fce2ea8bd877 100644
(file)
--- a/
xwayland/window-manager.c
+++ b/
xwayland/window-manager.c
@@
-952,6
+952,9
@@
weston_wm_window_set_allow_commits(struct weston_wm_window *window, bool allow)
assert(window->frame_id != XCB_WINDOW_NONE);
+ wm_printf(wm, "XWM: window %d set _XWAYLAND_ALLOW_COMMITS = %s\n",
+ window->id, allow ? "true" : "false");
+
property[0] = allow ? 1 : 0;
xcb_change_property(wm->conn,