CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  05/09/27 04:23:31

Modified files:
        .              : Tag: constraints_experiments ChangeLog 
                         constraints-ideas.txt 
        src            : Tag: constraints_experiments boxes.c boxes.h 
                         constraints.c 

Log message:
2005-09-27  Elijah Newren  <[EMAIL PROTECTED]>

* constraints-ideas.txt: Record that I think I can nuke
work_area_screen somewhere so I don't lose it; mark which
short-term TODO items I think I've finished

* src/boxes.[ch] (meta_rectangle_overlap,
meta_rectangle_get_minimal_spanning_set_for_region): new
functions, (meta_rectangle_clip_out_rect): remove this since it
was only used by constraints.c:get_outermost_screen_positions()

* src/boxes.c (compare_rect_areas): new static helper function for
meta_rectangle_get_minimal_spanning_set_for_region()

* src/constraints.c:

(enum ConstraintPriority, constrain_clamp_size,
meta_window_constrain): remove all the clamp_size stuff

(enum FixedDirections, struct ConstraintInfo): create a new enum
for tracking fixed directions

(struct ConstraintInfo): add, cleanup, clarify comments

(setup_constraint_info): add a HUGE comment about fixed_directions
(which I tried to implement a bunch of different ways and had all
kinds of different ideas that I was working on until I figured out
the current relatively simple way that I think will make it all
work) and initialize it appropriately

(get_outermost_onscreen_positions): remove this function

(do_screen_and_xinerama_relative_constraints): #ifdef it out, for
now

(get_all_workspace_struts, get_screen_rect_size): simple helper
functions

(constrain_fully_onscreen): make use of get_all_workspace_struts()
and get_screen_rect_size() to get the necessary data for
meta_rectangle_get_minimal_spanning_set_for_region() so that we
can make do_screen_and_xinerama_relative_constraints() do all the
work

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-09-27%2004:22&maxdate=2005-09-27%2004:24

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

Reply via email to