CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  06/08/07 19:34:55

Modified files:
        .              : ChangeLog 
        src            : boxes.c boxes.h constraints.c edge-resistance.c 
                         window.c window.h 

Log message:
2006-08-07  Elijah Newren  <newren gmail com>

Add a constrain_titlebar_visible constraint; should fix both bug
333328 and bug 345522.  Not perfect (minor annoying snap pulling
windows back onscreen, plus an ugly hack almost as bad as the old
one), but tarballs are due in less than half an hour.  ;-)

* src/boxes.[ch] (meta_rectangle_overlaps_with_region):
new function

* src/constraints.c (constrain_titlebar_visible): new function,
(enum ConstraintPriority, array all_constraints,
update_onscreen_requirements): various small changes to
accomodate the new function

* src/edge-resistance.c: remove the infinite edge resistance,
which was a big hack of a way to workaround the lack of a
titlebar_visible constraint

* src/window.[ch] (MetaWindow): new require_titlebar_visible
bitfield, (meta_window_new_with_attrs): initialized here

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2006-08-07%2019:33&maxdate=2006-08-07%2019:35

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

Reply via email to