Skip to content
Snippets Groups Projects
Commit 36d37a51 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Move saved_scaling inside vstatlock.

This shouldn't be necessary, but Coverity thinks it's a good idea,
and it's simple enough to do without hurting anything.
parent 69a89847
No related branches found
No related tags found
No related merge requests found
Pipeline #5817 passed
......@@ -1650,8 +1650,8 @@ x11_event(XEvent *ev)
resize = false;
if (fullscreen) {
fullscreen = false;
x_cvstat.scaling = saved_scaling;
pthread_mutex_lock(&vstatlock);
x_cvstat.scaling = saved_scaling;
/*
* Mode may have changed while in fullscreen... recalculate scaling to
* fit inside the old window size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment