Skip to content

Commit 9f10e79

Browse files
committed
#164 revert to original info deltas
1 parent 8611705 commit 9f10e79

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/info.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,12 @@ void print_head_current(enum LogThreshold t, struct Head *head) {
324324
if (head->current.transform) {
325325
log_(t, " transform: %s", transform_name(head->current.transform));
326326
}
327+
}
327328

328-
print_mode(t, head->current.mode);
329+
print_mode(t, head->current.mode);
330+
log_(t, " VRR: %s", head->current.adaptive_sync == ZWLR_OUTPUT_HEAD_V1_ADAPTIVE_SYNC_STATE_ENABLED ? "on" : "off");
329331

330-
log_(t, " VRR: %s", head->current.adaptive_sync == ZWLR_OUTPUT_HEAD_V1_ADAPTIVE_SYNC_STATE_ENABLED ? "on" : "off");
331-
} else {
332+
if (!head->current.enabled) {
332333
log_(t, " (disabled)");
333334
}
334335

tst/info/print-head-arrived-min.log

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
width: (not specified)
55
height: (not specified)
66
current:
7+
(no mode)
8+
VRR: off
79
(disabled)
810

tst/info/print-head-deltas-enable.log

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
name Changing:
33
from:
4+
mode: 100x200@30Hz (30,000mHz) (preferred)
5+
VRR: off
46
(disabled)
57
to:
68
mode: 400x500@60Hz (60,000mHz)

0 commit comments

Comments
 (0)