Skip to content

Commit

Permalink
init_display_watch_options(): set global enable_watch_displays from C…
Browse files Browse the repository at this point in the history
…MD_FLAG_WATCH_DISPLAY_EVENTS
  • Loading branch information
rockowitz committed Nov 23, 2024
1 parent d6d64cd commit e65dcec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ddc/ddc_common_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ init_performance_options(Parsed_Cmd * parsed_cmd)
STATIC void
init_display_watch_options(Parsed_Cmd* parsed_cmd) {
ddc_watch_mode = parsed_cmd->watch_mode;
enable_watch_displays = parsed_cmd->flags & CMD_FLAG_WATCH_DISPLAY_EVENTS;
try_get_edid_from_sysfs_first = parsed_cmd->flags & CMD_FLAG_TRY_GET_EDID_FROM_SYSFS;

if (parsed_cmd->flags2 & CMD_FLAG2_F17)
Expand Down

0 comments on commit e65dcec

Please sign in to comment.