summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-04-13 04:58:45 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-04-13 04:58:45 +0000
commitd02060e201de567d26b2eda5d019d19d9b19f807 (patch)
treebdb8f14c692efaa7bb1744c754dd5b483d4c2a3c /src/window.h
parentf965726d15950bc4e83409fe73bb2b7588781e81 (diff)
downloadmetacity-d02060e201de567d26b2eda5d019d19d9b19f807.tar.gz
metacity-d02060e201de567d26b2eda5d019d19d9b19f807.tar.bz2
new file containing all the wacky mess I just added to a simple "click the
2002-04-13 Havoc Pennington <hp@pobox.com> * src/delete.c: new file containing all the wacky mess I just added to a simple "click the close button", contains all the dealing-with-dead-application cruft. Use metacity-window-demo to test by clicking the toolbar button that locks it up.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index 7a53f99..019a4af 100644
--- a/src/window.h
+++ b/src/window.h
@@ -66,13 +66,16 @@ struct _MetaWindow
MetaWindowType type;
Atom type_atom;
- /* NOTE these four are not in UTF-8, we just treat them as random
+ /* NOTE these five are not in UTF-8, we just treat them as random
* binary data
*/
char *res_class;
char *res_name;
char *role;
char *sm_client_id;
+ char *wm_client_machine;
+
+ int net_wm_pid;
Window xtransient_for;
Window xgroup_leader;
@@ -236,6 +239,10 @@ struct _MetaWindow
/* Managed by stack.c */
MetaStackLayer layer;
MetaStackOp *stack_op;
+
+ /* Current dialog open for this window */
+ int dialog_pid;
+ int dialog_pipe;
};
MetaWindow* meta_window_new (MetaDisplay *display,
@@ -313,6 +320,7 @@ void meta_window_get_outer_rect (MetaWindow *window,
MetaRectangle *rect);
void meta_window_delete (MetaWindow *window,
Time timestamp);
+void meta_window_kill (MetaWindow *window);
void meta_window_focus (MetaWindow *window,
Time timestamp);
void meta_window_raise (MetaWindow *window);
@@ -372,4 +380,6 @@ gboolean meta_window_same_application (MetaWindow *window,
void meta_window_refresh_resize_popup (MetaWindow *window);
+void meta_window_free_delete_dialog (MetaWindow *window);
+
#endif