Enlightenment CVS committal Author : ravenlock Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: Fix issue with moving from unshaped borders to shaped borders (i.e. Fullscreen -> default). =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.607 retrieving revision 1.608 diff -u -3 -r1.607 -r1.608 --- e_border.c 5 Oct 2007 12:11:55 -0000 1.607 +++ e_border.c 27 Oct 2007 19:30:49 -0000 1.608 @@ -5823,6 +5823,7 @@ } } + bd->shaped = 0; if (ok) { const char *shape_option; @@ -5831,19 +5832,7 @@ shape_option = edje_object_data_get(o, "shaped"); if (shape_option && !strcmp(shape_option, "1")) { - if (!bd->shaped) - { - bd->shaped = 1; - ecore_evas_shaped_set(bd->bg_ecore_evas, bd->shaped); - } - } - else - { - if (bd->shaped) - { - bd->shaped = 0; - ecore_evas_shaped_set(bd->bg_ecore_evas, bd->shaped); - } + bd->shaped = 1; } if (bd->client.netwm.name) @@ -5877,6 +5866,7 @@ ecore_x_e_frame_size_set(bd->client.win, l, r, t, b); bd->w += (bd->client_inset.l + bd->client_inset.r); bd->h += (bd->client_inset.t + bd->client_inset.b); + ecore_evas_shaped_set(bd->bg_ecore_evas, bd->shaped); bd->changes.size = 1; ecore_x_window_move(bd->client.shell_win, l, t); if (bd->bg_object) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs