x11display: Clean up cursor filename map after freeing it

Not essential, but slightly neater
This commit is contained in:
rdb 2023-01-13 14:53:25 +01:00
parent 6404704ee3
commit 86a1973f89

View File

@ -1028,6 +1028,7 @@ close_window() {
for (auto item : _cursor_filenames) {
XFreeCursor(_display, item.second);
}
_cursor_filenames.clear();
GraphicsWindow::close_window();
}