… | |
… | |
64 | #endif |
64 | #endif |
65 | #if USE_XIM |
65 | #if USE_XIM |
66 | "WM_LOCALE_NAME", |
66 | "WM_LOCALE_NAME", |
67 | "XIM_SERVERS", |
67 | "XIM_SERVERS", |
68 | #endif |
68 | #endif |
69 | #ifdef TRANSPARENT |
69 | #ifdef ENABLE_TRANSPARENCY |
70 | "_XROOTPMAP_ID", |
70 | "_XROOTPMAP_ID", |
71 | "ESETROOT_PMAP_ID", |
71 | "ESETROOT_PMAP_ID", |
72 | #endif |
72 | #endif |
73 | #if ENABLE_XEMBED |
73 | #if ENABLE_XEMBED |
74 | "_XEMBED", |
74 | "_XEMBED", |
… | |
… | |
559 | if (xev.type == PropertyNotify |
559 | if (xev.type == PropertyNotify |
560 | && xev.xany.window == root |
560 | && xev.xany.window == root |
561 | && xev.xproperty.atom == xa[XA_XIM_SERVERS]) |
561 | && xev.xproperty.atom == xa[XA_XIM_SERVERS]) |
562 | im_change_check (); |
562 | im_change_check (); |
563 | #endif |
563 | #endif |
|
|
564 | if (xev.type == MappingNotify) |
|
|
565 | XRefreshKeyboardMapping (&xev.xmapping); |
|
|
566 | |
564 | for (int i = xw.size (); i--; ) |
567 | for (int i = xw.size (); i--; ) |
565 | { |
568 | { |
566 | if (!xw[i]) |
569 | if (!xw[i]) |
567 | xw.erase_unordered (i); |
570 | xw.erase_unordered (i); |
568 | else if (xw[i]->window == xev.xany.window) |
571 | else if (xw[i]->window == xev.xany.window) |