X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=d8382d2af4b1dd717e974c3bab4341a48a076862;hb=86b809df8a5e6c3c65faaaeadcd6e0d196a74040;hp=e2193e98e2ccd865ee0a14b1785d036e8e1c0ae1;hpb=de1559a09497ae4ead44a6e70b556123a5bab35c;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index e2193e98..d8382d2a 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -1,6 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- client.h for the Openbox window manager + Copyright (c) 2006 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -272,10 +273,9 @@ struct _ObClient struct _ObAppSettings { + gchar *class; gchar *name; - gboolean decor; - gboolean shade; - gboolean focus; + gchar *role; Point position; gboolean center_x; @@ -283,9 +283,18 @@ struct _ObAppSettings gboolean pos_given; guint desktop; - guint head; - - guint layer; + gint shade; + gint decor; + gint focus; + gint head; + gint iconic; + gint skip_pager; + gint skip_taskbar; + gint max_horz; + gint max_vert; + gint fullscreen; + + gint layer; }; extern GList *client_list; @@ -468,8 +477,10 @@ void client_unfocus(ObClient *self); when the user deliberately selects a window for use. @param here If true, then the client is brought to the current desktop; otherwise, the desktop is changed to where the client lives. + @param user If true, then a user action is what requested the activation; + otherwise, it means an application requested it on its own */ -void client_activate(ObClient *self, gboolean here); +void client_activate(ObClient *self, gboolean here, gboolean user); /*! Calculates the stacking layer for the client window */ void client_calc_layer(ObClient *self); @@ -566,7 +577,7 @@ ObClient *client_search_transient(ObClient *self, ObClient *search); ObClient *client_find_directional(ObClient *c, ObDirection dir); /*! Return the closest edge in the given direction */ -gint client_directional_edge_search(ObClient *c, ObDirection dir); +gint client_directional_edge_search(ObClient *c, ObDirection dir, gboolean hang); /*! Set a client window to be above/below other clients. @layer < 0 indicates the client should be placed below other clients.