CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  05/10/12 23:45:00

Modified files:
        .              : Tag: constraints_experiments ChangeLog 
        src            : Tag: constraints_experiments Makefile.am 
                         boxes.c testboxes.c 

Log message:
2005-10-12  Elijah Newren  <[EMAIL PROTECTED]>

One last testcase, more bug fixes, get testboxes into build system

* src/Makefile.am:

add testboxes to the things to build and to the things to not
install

* src/boxes.c:

(merge_spanning_rects_in_region):
Move debugging code into the #ifdef PRINT_DEBUG

(meta_rectangle_shove_into_region):
choose the optimal rectangle by maximal overlap and then by
distance to move, because the window shouldn't move more than
necessary other than to make sure it is fully on the screen

* src/testboxes.c:

add the necessary #include's to avoid compilation warnings,

(test_clamping_to_region):
min_size shouldn't ever be zero in either direction, don't forget
to free the memory for the region

(test_clipping_to_region):
remove the min_size stuff as it isn't used in this test, don't
forget to free the memory for the region

(test_shoving_into_region):
implement this function

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-10-12%2023:44&maxdate=2005-10-12%2023:46

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to