[mutter] display: Remove meta_grab_op_is_moving_or_resizing
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] display: Remove meta_grab_op_is_moving_or_resizing
- Date: Fri, 15 Aug 2014 21:46:35 +0000 (UTC)
commit e24863d1755836c6549438c07733162ee04600b8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Aug 15 17:41:15 2014 -0400
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, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/core/display-private.h b/src/core/display-private.h
index 736258e..e63d22c 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 2e309ba..b1325e3 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]