From f9a79e6062a41615c58cee81fa721578d7c2a4aa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 May 2007 03:31:20 +0000 Subject: 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 --- openbox/session.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbox/session.h') 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 +#include "client.h" -struct _ObClient; +#include 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; -- cgit v1.2.3