Merge branch 'obsd-master'

pull/3915/head
Thomas Adam 2024-03-26 12:01:11 +00:00
commit fc204bb5e5
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ window_copy_formats(struct window_mode_entry *wme, struct format_tree *ft)
format_add(ft, "selection_active", "1");
else
format_add(ft, "selection_active", "0");
if (data->endselx != data->selx && data->endsely != data->sely)
if (data->endselx != data->selx || data->endsely != data->sely)
format_add(ft, "selection_present", "1");
else
format_add(ft, "selection_present", "0");