From 552bc057135c3c415c16db9e5db57e51cef5d9d4 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 29 Mar 2007 11:32:42 +0000 Subject: [PATCH] (enum MFaceProperty): Delete MFACE_HOOK_FUNC. (struct MFace): New member hook. --- src/face.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/face.h b/src/face.h index a529839..b9ead92 100644 --- a/src/face.h +++ b/src/face.h @@ -46,14 +46,12 @@ enum MFaceProperty MFACE_BOX, MFACE_VIDEOMODE, - /** Extention by applications. */ - MFACE_HOOK_FUNC, - MFACE_HOOK_ARG, - /* In a realized face, this is ignored because it is already reflected in MFACE_SIZE. */ MFACE_RATIO, + MFACE_HOOK_ARG, + MFACE_PROPERTY_MAX }; @@ -64,6 +62,8 @@ struct MFace /** Properties of the face. */ void *property[MFACE_PROPERTY_MAX]; + MFaceHookFunc hook; + /** List of frames affected by the face modification. */ MPlist *frame_list; }; -- 1.7.10.4