From 0207e9012916ae3b56171a196a986f6a01dac3df Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Tue, 1 Jun 2010 21:05:00 +0000 Subject: [PATCH] keep current view when browsing SVN revision: 49384 --- src/modules/everything/evry_view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/everything/evry_view.c b/src/modules/everything/evry_view.c index 00eaa4ca7..e3abfc45f 100644 --- a/src/modules/everything/evry_view.c +++ b/src/modules/everything/evry_view.c @@ -370,7 +370,7 @@ _e_smart_reconfigure_do(void *data) col = 2; aspect_w = width * 2; } - else if ((cnt < 9) && (sd->h > sd->w)) + else if ((cnt < 9) && (sd->w < (double)sd->h * 1.5)) { col = 2; aspect_w = width * 3; @@ -947,7 +947,7 @@ _view_update(Evry_View *view) return 1; } - if (p != v->plugin) + if (p != v->plugin && (v->plugin || (v->mode == VIEW_MODE_NONE))) { if (p->config->view_mode != v->mode) {