summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-30 23:17:52 +0000
committerrhp <rhp>2001-06-30 23:17:52 +0000
commit43f807c5e16ca46ef3de02656c0b9f3b4ba0e940 (patch)
tree2f9f1660816ce1d9e2e6e76667cb9a9c90aa13cb /src/frames.h
parented2af7d22f0b8b945f89757bae0b4005689afac8 (diff)
downloadmetacity-43f807c5e16ca46ef3de02656c0b9f3b4ba0e940.tar.gz
metacity-43f807c5e16ca46ef3de02656c0b9f3b4ba0e940.tar.bz2
...
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/frames.h b/src/frames.h
index fe6bcc4..dc70345 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -52,7 +52,14 @@ typedef enum
META_FRAME_STATUS_CLICKING_MAXIMIZE,
META_FRAME_STATUS_CLICKING_DELETE,
META_FRAME_STATUS_CLICKING_MENU,
- META_FRAME_STATUS_RESIZING_SE
+ META_FRAME_STATUS_RESIZING_SE,
+ META_FRAME_STATUS_RESIZING_S,
+ META_FRAME_STATUS_RESIZING_SW,
+ META_FRAME_STATUS_RESIZING_N,
+ META_FRAME_STATUS_RESIZING_NE,
+ META_FRAME_STATUS_RESIZING_NW,
+ META_FRAME_STATUS_RESIZING_W,
+ META_FRAME_STATUS_RESIZING_E
} MetaFrameStatus;
/* This is one widget that manages all the window frames
@@ -89,14 +96,19 @@ struct _MetaFrames
int text_height;
GHashTable *frames;
+
+ guint tooltip_timeout;
+ MetaUIFrame *last_motion_frame;
/* The below is all for grabs */
MetaFrameStatus grab_status;
MetaUIFrame *grab_frame;
/* initial mouse position for drags */
int start_root_x, start_root_y;
- /* initial window size or initial window position for drags */
+ /* initial window position for drags */
int start_window_x, start_window_y;
+ /* initial window size for drags */
+ int start_window_w, start_window_h;
/* button doing the dragging */
int start_button;
};