Skip to content

Commit f6f6b33

Browse files
evelikov-workdvrogozh
authored andcommitted
common: print the display being attempted
Currently we silently fall-though all possible display types. Which is fairly confusing for the end user if `vainfo` works but it fails on their favourite program. Add an explicit print, saving time to both users and developers. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 parent 9f62cb2 commit f6f6b33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/va_display.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ va_open_display(void)
151151
continue;
152152
if (!g_display_hooks->open_display)
153153
continue;
154+
printf("Trying display: %s\n", g_display_hooks->name);
154155
va_dpy = g_display_hooks->open_display();
155156
}
156157

0 commit comments

Comments
 (0)