aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-01 16:09:34 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-01 16:48:42 +0200
commit90ede7f838a7358d2f016d37d12dc61aee5208d0 (patch)
treefeaf8f0c3bf0a3835578dcf415770bbbba89170a /backend
parent904312a0b27bf51cb636ec3d5caae85b062017a2 (diff)
backend/drm: make page-flip error scarier
The logs don't currently display the importance of a line. It's easy to read "skipping page-flip" as a debug message instead of an error message. Change the error message to make it more explicit. References: https://github.com/swaywm/wlroots/pull/2147
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index b320ffb4..f06b0600 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -341,7 +341,8 @@ static bool drm_crtc_page_flip(struct wlr_drm_connector *conn,
drmModeModeInfo *drm_mode = mode ? &mode->drm_mode : NULL;
if (conn->pageflip_pending) {
- wlr_log(WLR_ERROR, "Skipping pageflip on output '%s'", conn->output.name);
+ wlr_log(WLR_ERROR, "Failed to page-flip output '%s': "
+ "a page-flip is already pending", conn->output.name);
return false;
}