summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-19 23:59:40 -0500
committerDana Jansens <danakj@orodu.net>2008-01-19 23:59:40 -0500
commit3ae58f457bcdfa90b26dad4c9d192f045874ddae (patch)
tree23d603a47cfedc8e51cf36bf3480f83118b94710 /openbox/client.h
parent2b8b5da04b14af1639143cc332874c7e1a03a8bb (diff)
parent4b41ac8343efa21a959d81a4db8aea32e5960f10 (diff)
Merge branch 'backport'
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index b4b165f8..0efeb197 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -24,11 +24,16 @@
#include "mwm.h"
#include "geom.h"
#include "stacking.h"
+#include "window.h"
#include "render/color.h"
#include <glib.h>
#include <X11/Xlib.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h> /* for pid_t */
+#endif
+
struct _ObFrame;
struct _ObGroup;
struct _ObSessionState;
@@ -114,6 +119,8 @@ struct _ObClient
gchar *client_machine;
/*! The command used to run the program. Pre-XSMP window identification. */
gchar *wm_command;
+ /*! The PID of the process which owns the window */
+ pid_t pid;
/*! The application that created the window */
gchar *name;
@@ -219,6 +226,14 @@ struct _ObClient
/*! Notify the window when it receives focus? */
gboolean focus_notify;
+ /*! Will the client respond to pings? */
+ gboolean ping;
+ /*! Indicates if the client is trying to close but has stopped responding
+ to pings */
+ gboolean not_responding;
+ /*! We tried to close the window with a SIGTERM */
+ gboolean close_tried_term;
+
#ifdef SYNC
/*! The client wants to sync during resizes */
gboolean sync_request;