~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make things other than Pageant use request_file(), why not, although all of
[sgt/putty]
/
mac
/
macdlg.c
diff --git
a/mac/macdlg.c
b/mac/macdlg.c
index
be0b50d
..
cef7dea
100644
(file)
--- a/
mac/macdlg.c
+++ b/
mac/macdlg.c
@@
-170,6
+170,9
@@
static void mac_enddlg_reconfig(WindowPtr window, int value)
/* Change the palette */
palette_reset(s);
/* Change the palette */
palette_reset(s);
+ /* Reinitialise line codepage */
+ init_ucs(s);
+
/* Pass new config data to the terminal */
term_reconfig(s->term, &s->cfg);
/* Pass new config data to the terminal */
term_reconfig(s->term, &s->cfg);
@@
-181,7
+184,6
@@
static void mac_enddlg_reconfig(WindowPtr window, int value)
if (s->cfg.height != prev_cfg.height ||
s->cfg.width != prev_cfg.width ||
s->cfg.savelines != prev_cfg.savelines) {
if (s->cfg.height != prev_cfg.height ||
s->cfg.width != prev_cfg.width ||
s->cfg.savelines != prev_cfg.savelines) {
- term_size(s->term, s->cfg.height, s->cfg.width, s->cfg.savelines);
request_resize(s, s->cfg.width, s->cfg.height);
}
request_resize(s, s->cfg.width, s->cfg.height);
}
@@
-189,7
+191,11
@@
static void mac_enddlg_reconfig(WindowPtr window, int value)
if (s->cfg.wintitle[0])
set_title(s, s->cfg.wintitle);
if (s->cfg.wintitle[0])
set_title(s, s->cfg.wintitle);
- /* TODO: zoom, scroll bar, font */
+ /* Scroll bar */
+ if (s->cfg.scrollbar != prev_cfg.scrollbar)
+ request_resize(s, s->cfg.width, s->cfg.height);
+
+ /* TODO: zoom, font */
}
}
}
}