summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-01-27 08:21:53 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-01-27 08:21:53 +0000
commitb52ee424e4eb16632496c22a160dfa024ace47e2 (patch)
tree74446960efaacf21bb02481bf481860be09b1307 /src/window.h
parent5b4e9c01cc612395e56b608ad5923c5c84523f5a (diff)
downloadmetacity-b52ee424e4eb16632496c22a160dfa024ace47e2.tar.gz
metacity-b52ee424e4eb16632496c22a160dfa024ace47e2.tar.bz2
Only consider the bottom of the titlebar a resize control; I keep
2002-01-27 Havoc Pennington <hp@pobox.com> * src/frames.c (get_control): Only consider the bottom of the titlebar a resize control; I keep accidentally resizing windows instead of activating them. Also, give south resizing priority over north, if the window is so small the active regions overlap * src/theme.c: add MetaTheme, get MetaFrameStyleSet into a usable state * src/common.h: move window type back to window.h, decided not to use it on frame side (MetaFrameType): add this instead
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 4ecc457..18a3ca9 100644
--- a/src/window.h
+++ b/src/window.h
@@ -28,6 +28,19 @@
#include <X11/Xutil.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+
+typedef enum
+{
+ META_WINDOW_NORMAL,
+ META_WINDOW_DESKTOP,
+ META_WINDOW_DOCK,
+ META_WINDOW_DIALOG,
+ META_WINDOW_MODAL_DIALOG,
+ META_WINDOW_TOOLBAR,
+ META_WINDOW_MENU
+ /* FIXME add UTILITY, SPLASHSCREEN */
+} MetaWindowType;
+
struct _MetaWindow
{
MetaDisplay *display;