From ccde3fc1eb3a0258eb26e79a879c286a023711bc Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sun, 29 Dec 2013 22:26:14 +0100 Subject: Do not reload browser window on scal change --- atari/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'atari') diff --git a/atari/gui.c b/atari/gui.c index ace0f9848..cf1d1b384 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -359,8 +359,7 @@ void gui_window_set_scale(struct gui_window *gw, float scale) gw->scale = MAX(scale, 0.25); - browser_window_reload(gw->browser->bw, false); - gui_window_get_dimensions(gw, &width, &heigth, true); + gui_window_get_dimensions(gw, &width, &heigth, true); browser_window_reformat(gw->browser->bw, false, width, heigth); } @@ -768,6 +767,8 @@ void gui_set_clipboard(const char *buffer, size_t length, // convert utf8 input to atari encoding: + // TODO: send SC_CHANGED message + utf8_convert_ret ret; char *clip = NULL; -- cgit v1.2.3