CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  05/11/12 21:59:19

Modified files:
        .              : Tag: constraints_experiments ChangeLog 
        src            : Tag: constraints_experiments display.c 

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

Some renaming of structs & vars for sanity sake, plus the
introduction of infinite resistance for top screen edges when
moving the window via the titlebar.

* src/display.c

(struct ResistanceDataForAnEdge):
add an allow_past_screen_edge field

(apply_edge_resistance):
add an infinite resistance valid for the relevant screen edges
when resistance_data->allow_past_screen_edge is true.

(initialize_grab_edge_resistance_data):
pull out growing functionality from
compute_resistance_and_snapping_edges() into a new function,
initialize_grab_edge_resistance_data().  Also, make sure to
initialize resistance_data->allow_past_screen_edge appropriately
in this new function.

(struct ResistanceDataForAnEdge, struct MetaEdgeResistanceData,
edge_resistance_timeout, apply_edge_resistance,
meta_display_apply_edge_resistance, cleanup_edges):
rename the EdgeResistanceTimeoutData struct to
EdgeResistanceTimeoutData, modify the names of most all fields to
point out which are exclusively meant for timeout stuff and which
aren't, rename the fields in the MetaEdgeResistanceData to clarify
that they aren't just timeout data

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-11-12%2021:58&maxdate=2005-11-12%2022:00

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

Reply via email to