X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=90c6c059d2e82f35856a5c4d04aa72d003e59965;hb=939fbcfd31e07a6e0f1cdbfcef9b04f63e6af700;hp=53a318e0a35b10c40199c403deb128c6fa54323d;hpb=4c2b16e72d8b62addbf1aff0600ee2a77f22ec70;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index 53a318e0..90c6c059 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -2,7 +2,7 @@ client.h for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -136,6 +136,9 @@ struct _ObClient */ Rect area; + /*! Position of the client window relative to the root window */ + Point root_pos; + /*! Position and size of the window prior to being maximized */ Rect pre_max_area; /*! Position and size of the window prior to being fullscreened */ @@ -458,6 +461,12 @@ void client_kill(ObClient *self); desktop has been changed. Generally this should be FALSE. */ void client_set_desktop(ObClient *self, guint target, gboolean donthide); +/*! Show the client if it should be shown. */ +void client_show(ObClient *self); + +/*! Show the client if it should be shown. */ +void client_hide(ObClient *self); + /*! Show the client if it should be shown, and hide it if it should be hidden. This is for example, when switching desktops. */ @@ -550,7 +559,7 @@ void client_update_strut(ObClient *self); /*! Updates the window's icons */ void client_update_icons(ObClient *self); /*! Updates the window's user time */ -void client_update_user_time(ObClient *self, gboolean new_event); +void client_update_user_time(ObClient *self); /*! Set up what decor should be shown on the window and what functions should be allowed (ObClient::decorations and ObClient::functions).