|
From: <enl...@li...> - 2005-08-30 01:17:28
|
Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/randr
Modified Files:
e_mod_main.c
Log Message:
Set the confirmation window above and make it sticky and centered.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/randr/e_mod_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.c 25 Aug 2005 16:21:58 -0000 1.9
+++ e_mod_main.c 30 Aug 2005 01:17:22 -0000 1.10
@@ -316,16 +316,11 @@
e_dialog_button_add(e->dialog, "OK", NULL, _randr_dialog_cb_ok, res);
e_dialog_button_add(e->dialog, "Cancel", NULL, _randr_dialog_cb_cancel, res);
e_win_borderless_set(e->dialog->win, 1);
+ e_win_layer_set(e->dialog->win, 6);
+ e_win_centered_set(e->dialog->win, 1);
+ e_win_sticky_set(e->dialog->win, 1);
e_dialog_show(e->dialog);
- /* 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);
}
|