… | |
… | |
3097 | case XTerm_logfile: |
3097 | case XTerm_logfile: |
3098 | break; |
3098 | break; |
3099 | case XTerm_font: |
3099 | case XTerm_font: |
3100 | change_font (str); |
3100 | change_font (str); |
3101 | break; |
3101 | break; |
|
|
3102 | #ifndef NO_FRILLS |
3102 | case XTerm_locale: |
3103 | case XTerm_locale: |
3103 | if (str[0] == '?' && !str[1]) |
3104 | if (str[0] == '?' && !str[1]) |
3104 | tt_printf ("%-.250s\n", locale); |
3105 | tt_printf ("%-.250s\n", locale); |
3105 | else |
3106 | else |
3106 | { |
3107 | { |
3107 | set_locale (str); |
3108 | set_locale (str); |
|
|
3109 | # ifdef USE_XIM |
3108 | im_cb (); |
3110 | im_cb (); |
|
|
3111 | # endif |
|
|
3112 | // TODO: call selection_make with the right values set |
|
|
3113 | // to re-fresh the selection. |
|
|
3114 | if (display->selection_owner == this) |
|
|
3115 | display->set_selection_owner (0); |
3109 | } |
3116 | } |
3110 | break; |
3117 | break; |
|
|
3118 | #endif |
3111 | #if 0 |
3119 | #if 0 |
3112 | case XTerm_dumpscreen: /* no error notices */ |
3120 | case XTerm_dumpscreen: /* no error notices */ |
3113 | { |
3121 | { |
3114 | int fd; |
3122 | int fd; |
3115 | if ((fd = open (str, O_RDWR | O_CREAT | O_EXCL, 0600)) >= 0) |
3123 | if ((fd = open (str, O_RDWR | O_CREAT | O_EXCL, 0600)) >= 0) |