diff options
author | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2009-01-27 03:53:07 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2009-01-27 03:53:07 +0000 |
commit | 8cbcbb0655a142bca77e3e49619310a8626301f4 (patch) | |
tree | bc7d421a6c73f4b69827dc1efb2217ee9e7079d9 /src/core/window-props.h | |
parent | 35d9d2864f61d9f72baabfd73bbb475a0702fa53 (diff) | |
download | metacity-8cbcbb0655a142bca77e3e49619310a8626301f4.tar.gz |
More of the window properties are checked using simple
window property handlers. The ones which remain don't
actually look up the new value in the ordinary way, and
so are a little trickier to merge. Added an "initial"
flag to be on the safe side that the behaviour is the
same as before (so we don't do things when a window's
first mapped that we only used to do when a property
changed). Partial fix for bug #549886.
* src/core/window-props.c:
* src/core/window-props.h:
* src/core/window.c:
svn path=/trunk/; revision=4089
Diffstat (limited to 'src/core/window-props.h')
-rw-r--r-- | src/core/window-props.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/window-props.h b/src/core/window-props.h index 9ac3cf19..1e60eff0 100644 --- a/src/core/window-props.h +++ b/src/core/window-props.h @@ -43,7 +43,8 @@ * \param property A single X atom. */ void meta_window_reload_property (MetaWindow *window, - Atom property); + Atom property, + gboolean initial); /** @@ -57,7 +58,8 @@ void meta_window_reload_property (MetaWindow *window, */ void meta_window_reload_properties (MetaWindow *window, const Atom *properties, - int n_properties); + int n_properties, + gboolean initial); /** * Requests the current values of a single property for a given @@ -72,7 +74,8 @@ void meta_window_reload_properties (MetaWindow *window, void meta_window_reload_property_from_xwindow (MetaWindow *window, Window xwindow, - Atom property); + Atom property, + gboolean initial); /** * Requests the current values of a set of properties for a given @@ -89,7 +92,8 @@ void meta_window_reload_properties_from_xwindow (MetaWindow *window, Window xwindow, const Atom *properties, - int n_properties); + int n_properties, + gboolean initial); /** * Initialises the hooks used for the reload_propert* functions |