CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  05/11/08 02:24:32

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

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

Very basic edge resistance stuff starting to work.  Only for
moves, debugging threshold ridiculously huge for easier testing,
snap-moving disabled, yadda yadda yadda IT ISN'T READY YET.

* src/display.c:

(find_index_of_edge_near_position):
new binary-search-esque function

(apply_edge_resistance):
new function, only very basics implemented so far (with a
ridiculously huge threshold just for testing)

(cache_edges):
remove an extraneous debugging warning that I missed earlier

* src/display.[ch]:

(meta_display_apply_edge_resistance):
new public function, doing work through calls to
apply_edge_resistance() currently

* src/window.c:

(update_move):
temporarily disable snap moving, call
meta_display_apply_edge_resistance() to get some basic edge
resistance working

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-11-08%2002:23&maxdate=2005-11-08%2002:25

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

Reply via email to