diff options
author | Elijah Newren <newren@src.gnome.org> | 2006-08-07 18:20:37 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-08-07 18:20:37 +0000 |
commit | 1dd78e38ffbbe83ebf602ad372d32a45b4e5bbfb (patch) | |
tree | 6c2589b8df4a40453f5fe0487cd93f0bb205bd04 | |
parent | adc46fc970f2d09a23e6ad4bbadc651b1cf2f9bc (diff) | |
download | metacity-1dd78e38ffbbe83ebf602ad372d32a45b4e5bbfb.tar.gz |
Just a couple more details to explain why MetaButtonSpace is used
-rw-r--r-- | src/theme.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/theme.h b/src/theme.h index d5214790..cda019da 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 */ |