x11: Fix xsettings pointer not being reset in X11_QuitXsettings
This commit is contained in:
@@ -67,6 +67,7 @@ void X11_QuitXsettings(SDL_VideoDevice *_this)
|
|||||||
|
|
||||||
if (xsettings_data->xsettings) {
|
if (xsettings_data->xsettings) {
|
||||||
xsettings_client_destroy(xsettings_data->xsettings);
|
xsettings_client_destroy(xsettings_data->xsettings);
|
||||||
|
xsettings_data->xsettings = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user