diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-23 17:02:30 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-23 17:02:30 +0100 |
commit | c595c7ffb5511ed3884685745a292cb8ec4686c8 (patch) | |
tree | 92e8eb99211b83e0d39ce846b7de0684e2aee225 /src | |
parent | c0a68e20636b4ad1f3cbc3cd095705770acbc162 (diff) |
Add more info about gnome issue in stderr
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
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, |