From e24863d1755836c6549438c07733162ee04600b8 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Aug 2014 17:41:15 -0400 Subject: [PATCH] display: Remove meta_grab_op_is_moving_or_resizing It's unused. --- src/core/display-private.h | 1 - src/core/display.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/core/display-private.h b/src/core/display-private.h index 736258e82..e63d22c98 100644 --- a/src/core/display-private.h +++ b/src/core/display-private.h @@ -398,7 +398,6 @@ int meta_resize_gravity_from_grab_op (MetaGrabOp op); gboolean meta_grab_op_is_moving (MetaGrabOp op); gboolean meta_grab_op_is_resizing (MetaGrabOp op); -gboolean meta_grab_op_is_moving_or_resizing (MetaGrabOp op); gboolean meta_grab_op_is_mouse (MetaGrabOp op); gboolean meta_grab_op_is_keyboard (MetaGrabOp op); diff --git a/src/core/display.c b/src/core/display.c index 2e309ba93..b1325e35e 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1203,12 +1203,6 @@ meta_grab_op_is_moving (MetaGrabOp op) return (op & 0xF000) == 0; } -gboolean -meta_grab_op_is_moving_or_resizing (MetaGrabOp op) -{ - return GRAB_OP_GET_BASE_TYPE (op) == META_GRAB_OP_WINDOW_BASE; -} - /** * meta_grab_op_windows_are_interactable: * @op: A #MetaGrabOp