summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-01-19 03:50:03 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-01-19 03:50:03 +0000
commit19d2e8c7e1df6fcf12e5e5dcfe36430627eb8cc2 (patch)
tree171f1da8bc2407db50d53475f95241ad0d932021 /src/frames.h
parent3194faaa9cbe39f37e664470c40054d6621b2fd0 (diff)
downloadmetacity-19d2e8c7e1df6fcf12e5e5dcfe36430627eb8cc2.tar.gz
metacity-19d2e8c7e1df6fcf12e5e5dcfe36430627eb8cc2.tar.bz2
give priority to keeping NW corner onscreen rather than SE, if we need to
2002-01-18 Havoc Pennington <hp@pobox.com> * src/window.c (constrain_position): give priority to keeping NW corner onscreen rather than SE, if we need to shift the window to fit inside constraints * src/frames.c (meta_frames_get_geometry): don't depend on the current window size * src/theme.c: move geometry stuff in here, to be calculated as part of the theme * src/core.c (meta_core_get_client_size): new function to replace meta_core_get_frame_size() so we don't have weird cycles in the geometry calculation
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frames.h b/src/frames.h
index 8cfa310..5cc70ea 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -25,6 +25,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include "common.h"
+#include "theme.h"
typedef enum
{
@@ -61,7 +62,6 @@ typedef struct _MetaFrames MetaFrames;
typedef struct _MetaFramesClass MetaFramesClass;
typedef struct _MetaUIFrame MetaUIFrame;
-typedef struct _MetaFrameProperties MetaFrameProperties;
struct _MetaUIFrame
{
@@ -76,7 +76,7 @@ struct _MetaFrames
GtkWindow parent_instance;
/* If we did a widget per frame, we wouldn't want to cache this. */
- MetaFrameProperties *props;
+ MetaFrameLayout *layout;
int text_height;