diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 11:05:04 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 11:05:13 -0500 |
commit | 19b57eae068efd0c56469a1feb4401bc9aa338b8 (patch) | |
tree | 5c9f12d4ecd4f1326d1c2234b788945a78e559c6 /src/x11.c | |
parent | 98246e21ebf86db15cc848644bcd3e2827c5a2ca (diff) | |
download | pugl-19b57eae068efd0c56469a1feb4401bc9aa338b8.tar.gz pugl-19b57eae068efd0c56469a1feb4401bc9aa338b8.tar.bz2 pugl-19b57eae068efd0c56469a1feb4401bc9aa338b8.zip |
Add missing const qualifier
Diffstat (limited to 'src/x11.c')
-rw-r--r-- | src/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -647,7 +647,7 @@ puglRealize(PuglView* const view) if (XRRQueryExtension(display, &ignored, &ignored)) { // Set refresh rate hint to the real refresh rate XRRScreenConfiguration* conf = XRRGetScreenInfo(display, parent); - short current_rate = XRRConfigCurrentRate(conf); + const short current_rate = XRRConfigCurrentRate(conf); view->hints[PUGL_REFRESH_RATE] = current_rate; XRRFreeScreenConfigInfo(conf); |