From 1dd78e38ffbbe83ebf602ad372d32a45b4e5bbfb Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Mon, 7 Aug 2006 18:20:37 +0000 Subject: [PATCH] Just a couple more details to explain why MetaButtonSpace is used --- src/theme.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/theme.h b/src/theme.h index d5214790b..cda019da7 100644 --- a/src/theme.h +++ b/src/theme.h @@ -107,10 +107,13 @@ struct _MetaFrameLayout struct _MetaButtonSpace { - GdkRectangle visible; /* The area of the screen which has a button's image - drawn on it. */ - GdkRectangle clickable; /* The area of the screen which, when clicked, - activates a button. */ + /* The reason for two different rectangles here is Fitts' law & maximized + * windows; see #97703 for more details. + * visible - The screen area where the button's image is drawn + * clickable - The screen area where the button can be activated by clicking + */ + GdkRectangle visible; + GdkRectangle clickable; }; /* Calculated actual geometry of the frame */