equal
deleted
inserted
replaced
140 XDestroyImage(mask_image); |
140 XDestroyImage(mask_image); |
141 |
141 |
142 /* Create the cursor */ |
142 /* Create the cursor */ |
143 cursor->x_cursor = XCreatePixmapCursor(SDL_Display, data_pixmap, |
143 cursor->x_cursor = XCreatePixmapCursor(SDL_Display, data_pixmap, |
144 mask_pixmap, &black, &white, hot_x, hot_y); |
144 mask_pixmap, &black, &white, hot_x, hot_y); |
|
145 XFreePixmap(SDL_Display, data_pixmap); |
|
146 XFreePixmap(SDL_Display, mask_pixmap); |
145 |
147 |
146 /* Release the event thread */ |
148 /* Release the event thread */ |
147 XSync(SDL_Display, False); |
149 XSync(SDL_Display, False); |
148 SDL_Unlock_EventThread(); |
150 SDL_Unlock_EventThread(); |
149 |
151 |