From 67b40a0495adf55b777c55c90c3371d6e2b61998 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 1 Apr 2010 01:44:29 +0200 Subject: [PATCH] Stop moving stuff onscreen when the screen size changes --- openbox/screen.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/openbox/screen.c b/openbox/screen.c index 24139b5b..a6551cfb 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -507,10 +507,11 @@ void screen_resize(void) /* this calls screen_update_areas(), which we need ! */ dock_configure(); - for (it = client_list; it; it = g_list_next(it)) { - client_move_onscreen(it->data, FALSE); - client_reconfigure(it->data, FALSE); - } + // bug: this is done in screen_update_areas() already +// for (it = client_list; it; it = g_list_next(it)) { +// client_move_onscreen(it->data, FALSE); +// client_reconfigure(it->data, FALSE); +// } } void screen_set_num_desktops(guint num) -- 2.34.1