diff --git a/ChangeLog b/ChangeLog index ce0fe439c..11551953a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-07-09 Havoc Pennington + + * src/metacity.schemas.in: fix short description for + begin_resize, patch from Jayaraj, #87654 + + * src/keybindings.c (handle_begin_resize): apply patch from + Jayaraj to actually handle the begin resize keybinding. + 2002-07-09 Havoc Pennington * src/window.c (constrain_position): don't center vertically for diff --git a/src/keybindings.c b/src/keybindings.c index 3014cb0cd..c9af5abe7 100644 --- a/src/keybindings.c +++ b/src/keybindings.c @@ -2253,7 +2253,17 @@ handle_begin_resize (MetaDisplay *display, XEvent *event, MetaKeyBinding *binding) { - /* FIXME */ + if (window) + { + meta_window_raise (window); + meta_display_begin_grab_op (window->display, + window->screen, + window, + META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN, + FALSE, 0, 0, + event->xkey.time, + 0, 0); + } } static void diff --git a/src/metacity.schemas.in b/src/metacity.schemas.in index abc1eaed5..58d7e7c05 100644 --- a/src/metacity.schemas.in +++ b/src/metacity.schemas.in @@ -279,7 +279,7 @@ you set string disabled - Move a window + Resize a window The keybinding used to enter "resize mode" and begin resizing a window using the keyboard.