Skip to content

x11: Add a helper to get the default screen

Vlad Zahorodnii requested to merge work/zzag/xcb-default-screen into master

Since the screen number is well-known, we can look up the default screen on demand. Note that xcb_get_setup() is pretty cheap as it simply returns a const pointer to pre-allocated data.

Edited by Vlad Zahorodnii

Merge request reports

Loading