1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
User interface services - X Window System |
User interface services - X Window System |
4 |
Copyright (C) Matthew Chapman 1999-2001 |
Copyright (C) Matthew Chapman 1999-2002 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
293 |
if (IM != NULL) |
if (IM != NULL) |
294 |
XCloseIM(IM); |
XCloseIM(IM); |
295 |
|
|
296 |
XFreeModifierMap(mod_map); |
XFreeModifiermap(mod_map); |
297 |
|
|
298 |
if (ownbackstore) |
if (ownbackstore) |
299 |
XFreePixmap(display, backstore); |
XFreePixmap(display, backstore); |
548 |
|
|
549 |
if (xevent.xmapping.request == MappingModifier) |
if (xevent.xmapping.request == MappingModifier) |
550 |
{ |
{ |
551 |
XFreeModifierMap(mod_map); |
XFreeModifiermap(mod_map); |
552 |
mod_map = XGetModifierMapping(display); |
mod_map = XGetModifierMapping(display); |
553 |
} |
} |
554 |
break; |
break; |