aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-23 17:02:30 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-23 17:02:30 +0100
commitc595c7ffb5511ed3884685745a292cb8ec4686c8 (patch)
tree92e8eb99211b83e0d39ce846b7de0684e2aee225 /src/main.cpp
parentc0a68e20636b4ad1f3cbc3cd095705770acbc162 (diff)
Add more info about gnome issue in stderr
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 59cc13b..e624797 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -257,7 +257,7 @@ static bool recreate_window_pixmap(Display *dpy, Window window_id,
if(pixmap.texture_width == 0 || pixmap.texture_height == 0) {
pixmap.texture_width = attr.width;
pixmap.texture_height = attr.height;
- fprintf(stderr, "Warning: failed to get texture size. You are probably running an unsupported compositor and recording the selected window doesn't work at the moment. A black window will be displayed instead\n");
+ fprintf(stderr, "Warning: failed to get texture size. You are probably running an unsupported compositor and recording the selected window doesn't work at the moment. This could also happen if you are trying to record a window with client-side decorations (GNOME issue). A black window will be displayed instead. A workaround is to record the whole monitor (which use NvFBC).\n");
}
fprintf(stderr, "texture width: %d, height: %d\n", pixmap.texture_width,