Vastly reduce stuttering on the cursor

This commit is contained in:
loki
2020-01-11 23:16:12 +01:00
parent bb9968b7f0
commit e3ef2f1c1d
3 changed files with 128 additions and 115 deletions

View File

@@ -81,9 +81,8 @@ struct x11_img_t : public img_t {
struct shm_img_t : public img_t {
~shm_img_t() override {
if(data) {
delete[] data;
}
delete[] data;
data = nullptr;
}
};