summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-19 04:12:49 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-19 04:12:49 +0000
commitb0d3660c9123e00a3d8015212a67fc8572cab169 (patch)
tree05162816a9485005295fb9bb6c53dc035d01903c /src/window.c
parentdbcacfa5ba7ac179d0b97008334185a3f2db7435 (diff)
downloadmetacity-b0d3660c9123e00a3d8015212a67fc8572cab169.tar.gz
metacity-b0d3660c9123e00a3d8015212a67fc8572cab169.tar.bz2
handle UNKNOWN keyboard resizing state
2002-06-19 Havoc Pennington <hp@pobox.com> * src/display.c (meta_resize_gravity_from_grab_op): handle UNKNOWN keyboard resizing state * src/keybindings.c (process_keyboard_resize_grab): implement keyboard resize key handling somewhat (only vertical resize works, left/right arrow not implemented, and visual feedback of the edge we're resizing isn't implemented) * src/window.c (menu_callback): start keyboard resize grab when it's chosen from the menu
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index e4eebe6..35bbbf6 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5392,7 +5392,13 @@ menu_callback (MetaWindowMenu *menu,
break;
case META_MENU_OP_RESIZE:
- /* FIXME */
+ meta_window_raise (window);
+ meta_display_begin_grab_op (window->display,
+ window,
+ META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN,
+ FALSE, 0, 0,
+ meta_display_get_current_time (window->display),
+ 0, 0);
break;
case 0: