… | |
… | |
227 | return true; |
227 | return true; |
228 | } |
228 | } |
229 | |
229 | |
230 | rxvt_display::~rxvt_display () |
230 | rxvt_display::~rxvt_display () |
231 | { |
231 | { |
|
|
232 | #ifdef POINTER_BLANK |
|
|
233 | XFreeCursor (display, blank_cursor); |
|
|
234 | #endif |
232 | x_ev.stop (); |
235 | x_ev.stop (); |
233 | #ifdef USE_XIM |
236 | #ifdef USE_XIM |
234 | xims.clear (); |
237 | xims.clear (); |
235 | #endif |
238 | #endif |
236 | |
239 | |
… | |
… | |
279 | XNextEvent (display, &xev); |
282 | XNextEvent (display, &xev); |
280 | |
283 | |
281 | #ifdef USE_XIM |
284 | #ifdef USE_XIM |
282 | if (!XFilterEvent (&xev, None)) |
285 | if (!XFilterEvent (&xev, None)) |
283 | { |
286 | { |
284 | |
|
|
285 | if (xev.type == PropertyNotify |
287 | if (xev.type == PropertyNotify |
286 | && xev.xany.window == root |
288 | && xev.xany.window == root |
287 | && xev.xproperty.atom == xa_xim_servers) |
289 | && xev.xproperty.atom == xa_xim_servers) |
288 | im_change_check (); |
290 | im_change_check (); |
289 | #endif |
291 | #endif |