diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-06-01 23:20:05 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-06-01 23:20:05 +0000 |
| commit | 0f677834e253dfd18a246c8811bf4a4e364d5e0e (patch) | |
| tree | 42959046a60779dcf0ce9c26641383d9072d17a0 /openbox/stacking.h | |
| parent | 062d4d435dec216557708cdf6c61ec26f0b66719 (diff) | |
have stacking_restack_request return a bool that says if it did something with TopIf/BottomIf (other cases always return true)
Diffstat (limited to 'openbox/stacking.h')
| -rw-r--r-- | openbox/stacking.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openbox/stacking.h b/openbox/stacking.h index eb638734..4a81617d 100644 --- a/openbox/stacking.h +++ b/openbox/stacking.h @@ -67,11 +67,13 @@ void stacking_below(ObWindow *window, ObWindow *below); @param detail One of Above, Below, TopIf, BottomIf, Opposite @param activate If TRUE, and if the window is going to be raised, it will be activated instead + @return false if given TopIf or BottomIf and no action was taken, + true otherwise See http://tronche.com/gui/x/xlib/window/configure.html for details on how each detail works with and without a sibling. */ -void stacking_restack_request(struct _ObClient *client, - struct _ObClient *sibling, - gint detail, gboolean activate); +gboolean stacking_restack_request(struct _ObClient *client, + struct _ObClient *sibling, + gint detail, gboolean activate); #endif |
