fix short description for begin_resize, patch from Jayaraj, #87654

2002-07-09  Havoc Pennington  <hp@pobox.com>

	* 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.
This commit is contained in:
Havoc Pennington 2002-07-10 03:51:01 +00:00 committed by Havoc Pennington
parent 7d068e6909
commit 93902aabfd
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2002-07-09 Havoc Pennington <hp@pobox.com>
* 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 <hp@pobox.com> 2002-07-09 Havoc Pennington <hp@pobox.com>
* src/window.c (constrain_position): don't center vertically for * src/window.c (constrain_position): don't center vertically for

View File

@ -2253,7 +2253,17 @@ handle_begin_resize (MetaDisplay *display,
XEvent *event, XEvent *event,
MetaKeyBinding *binding) 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 static void

View File

@ -279,7 +279,7 @@ you set
<type>string</type> <type>string</type>
<default>disabled</default> <default>disabled</default>
<locale name="C"> <locale name="C">
<short>Move a window</short> <short>Resize a window</short>
<long> <long>
The keybinding used to enter "resize mode" and begin resizing a The keybinding used to enter "resize mode" and begin resizing a
window using the keyboard. window using the keyboard.