summaryrefslogtreecommitdiff
path: root/src/bin/e_int_shelf_config.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2009-04-23 02:24:59 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2009-04-23 02:24:59 +0000
commitbe6a6ba63977dcb947cd4538748a9432c47e6015 (patch)
tree21dd93d1e6095c3cfff0faa3f5de3f5a3946e5da /src/bin/e_int_shelf_config.c
parent6ca152fef80320c8876e6a7a0bcb87254541e18b (diff)
downloadenlightenment-be6a6ba63977dcb947cd4538748a9432c47e6015.tar.gz
improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting the shelves/panels instead of just centering on the screen. This is better and most noticeable if screens are small and a big shelf on just one edge. * e_border_move_without_border(), e_border_resize_without_border() and e_border_move_resize_without_border() will assume the given values do not acount border/decorations (client_inset) and will do automatically. As stated in documentation, this is specially useful when it is a new client and thus have no decorations when it is positioned, when decorations are added window would be placed at wrong position. One can try this by adding efwin window overflowing the bottom-right corner, closing it and when reopen fileman would try to make it inside the screen, this would not work well with part of the window still being outside. * e_win_move(), e_win_resize() and e_win_move_resize() will now use new e_border functions. SVN revision: 40307
Diffstat (limited to 'src/bin/e_int_shelf_config.c')
-rw-r--r--src/bin/e_int_shelf_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_int_shelf_config.c b/src/bin/e_int_shelf_config.c
index 031c487ed4..f792d02be1 100644
--- a/src/bin/e_int_shelf_config.c
+++ b/src/bin/e_int_shelf_config.c
@@ -475,6 +475,7 @@ _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
else if (!cfdata->escfg->autohide && cfdata->es->hidden)
e_shelf_toggle(cfdata->es, 1);
+ e_zone_useful_geometry_dirty(cfdata->es->zone);
e_config_save_queue();
cfdata->es->config_dialog = cfd;
return 1; /* Apply was OK */