diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-19 00:42:33 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-26 13:49:20 +0100 |
commit | c1048a3d20b75740d7c25915963cefe27fae53d4 (patch) | |
tree | a8934668ce751781b03d63e0ae3fa0449b8fb69e /src/damage.c | |
parent | a006261adef704930a8d946806ba051178a14518 (diff) |
Make '-w screen' capture the first monitor on nvidia x11 as well to make it work like amd, intel and nvidia wayland. Keep screen-direct for all monitors, that is gsync compatible
Diffstat (limited to 'src/damage.c')
-rw-r--r-- | src/damage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/damage.c b/src/damage.c index baf714e..25a2225 100644 --- a/src/damage.c +++ b/src/damage.c @@ -137,7 +137,7 @@ bool gsr_damage_set_target_monitor(gsr_damage *self, const char *monitor_name) { } memset(&self->monitor, 0, sizeof(self->monitor)); - if(strcmp(monitor_name, "screen") != 0 && strcmp(monitor_name, "screen-direct") != 0 && strcmp(monitor_name, "screen-direct-force") != 0) { + if(strcmp(monitor_name, "screen-direct") != 0 && strcmp(monitor_name, "screen-direct-force") != 0) { if(!get_monitor_by_name(self->egl, GSR_CONNECTION_X11, monitor_name, &self->monitor)) fprintf(stderr, "gsr warning: gsr_damage_set_target_monitor: failed to find monitor: %s\n", monitor_name); } |