summaryrefslogtreecommitdiff
path: root/openbox/session.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-17 03:31:20 +0000
committerDana Jansens <danakj@orodu.net>2007-05-17 03:31:20 +0000
commitf9a79e6062a41615c58cee81fa721578d7c2a4aa (patch)
tree7a34942fd1993c0dcde2972b492af0bcdef4933c /openbox/session.h
parentc6dac8539715c12db1e18c13f389c59557270268 (diff)
a little check that catches firefox and other buggy apps, which set the same wmcommand across sessions on different window types. type is a pretty obvious check its hard for it to be a false alarm
Diffstat (limited to 'openbox/session.h')
-rw-r--r--openbox/session.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/session.h b/openbox/session.h
index 8663fce2..97e55a3b 100644
--- a/openbox/session.h
+++ b/openbox/session.h
@@ -19,14 +19,15 @@
#ifndef __ob__session_h
#define __ob__session_h
-#include <glib.h>
+#include "client.h"
-struct _ObClient;
+#include <glib.h>
typedef struct _ObSessionState ObSessionState;
struct _ObSessionState {
gchar *id, *command, *name, *class, *role;
+ ObClientType type;
guint desktop;
gint x, y, w, h;
gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen;