Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
_e_border_resize_limit() at the right spot. Seems like resize resist isn't
nice to windows with a large step width.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- e_border.c 9 Feb 2005 11:36:14 -0000 1.90
+++ e_border.c 10 Feb 2005 13:28:10 -0000 1.91
@@ -2154,11 +2154,12 @@
if (bd->client.icccm.base_h > 32767) bd->client.icccm.base_h = 32767;
if (bd->client.icccm.step_w < 1) bd->client.icccm.step_w = 1;
if (bd->client.icccm.step_h < 1) bd->client.icccm.step_h = 1;
- printf("##- SIZE HINTS for 0x%x: min %ix%i, max %ix%i, base %ix%i\n",
+ printf("##- SIZE HINTS for 0x%x: min %ix%i, max %ix%i, base %ix%i, step
%ix%i\n",
bd->client.win,
bd->client.icccm.min_w, bd->client.icccm.min_h,
bd->client.icccm.max_w, bd->client.icccm.max_h,
- bd->client.icccm.base_w, bd->client.icccm.base_h);
+ bd->client.icccm.base_w, bd->client.icccm.base_h,
+ bd->client.icccm.step_w, bd->client.icccm.step_h);
bd->client.icccm.fetch.size_pos_hints = 0;
}
@@ -2747,7 +2748,6 @@
tw = bd->w;
th = bd->h;
- _e_border_resize_limit(bd, &w, &h);
if ((bd->resize_mode == RESIZE_TL) ||
(bd->resize_mode == RESIZE_L) ||
@@ -2765,6 +2765,7 @@
&new_x, &new_y, &new_w, &new_h);
evas_list_free(skiplist);
+ _e_border_resize_limit(bd, &new_w, &new_h);
e_border_move_resize(bd, new_x, new_y, new_w, new_h);
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs