CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  05/11/18 19:41:00

Modified files:
        .              : Tag: constraints_experiments ChangeLog 
        src            : Tag: constraints_experiments edge-resistance.c 
                         keybindings.c window.c 

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

Fix the breakage all these constraints_experiments changes caused
to reduced resources mode.  Also fixes #304857 (wireframe can move
off the top of the screen despite the fact that the window won't
be allowed to)

* src/edge-resistance.c:

(apply_edge_resistance):
if two edges are at the same location then the keyboard buildup
ought to count towards both (otherwise the user can't move past
that edge with the keyboard), be careful to not clear
keyboard_buildup from edges that don't even align

(meta_window_edge_resistance_for_move):
(meta_window_edge_resistance_for_resize):
need to use meta_window_get_xor_rect() instead of
meta_window_get_outer_rect() for wireframe mode

* src/keybindings.c:

(process_keyboard_move_grab):
(process_keyboard_resize_grab):
apply edge resistance for wireframe moving/resizing too since it
was there in the old code I replaced

* src/window.c:

(update_move):
(update_resize):
ignore operation if no movement was specified (happens for
keyboard operations due to pointer warp), old position must be
obtained differently for wireframe mode

(warp_grab_pointer):
grab_anchor_window_pos must be set differently in wireframe mode

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-11-18%2019:40&maxdate=2005-11-18%2019:42

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

Reply via email to