From 0f438c844f0346bf02059bd3781b4cc338432b81 Mon Sep 17 00:00:00 2001 From: sebastid Date: Thu, 25 Aug 2005 16:17:52 +0000 Subject: [PATCH] Don't move dialog, we don't know where it will end. SVN revision: 16348 --- src/modules/randr/e_mod_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/randr/e_mod_main.c b/src/modules/randr/e_mod_main.c index 55e257911..621215e8d 100644 --- a/src/modules/randr/e_mod_main.c +++ b/src/modules/randr/e_mod_main.c @@ -321,9 +321,11 @@ _randr_menu_cb_resolution_change(void *data, E_Menu *m, E_Menu_Item *mi) /* This shouldn't be done here. We should add a resize callback to the e_win, * and position us when we know the real width and height */ +#if 0 e_win_move(e->dialog->win, m->zone->x + (m->zone->w - e->dialog->win->min_w) / 2, m->zone->y + (m->zone->h - e->dialog->win->min_h) / 2); +#endif e->timer = ecore_timer_add(15.0, _randr_timer_cb, res);