diff options
author | fluxgen <fluxgen> | 2006-04-23 17:00:33 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-04-23 17:00:33 (GMT) |
commit | 75d289be65e12ac8c1b36a21ee9db8fee7cf1897 (patch) | |
tree | 14ce0593761c5c3e1f331563655bd5af7d127be6 /src/WinClientUtil.hh | |
parent | b0d7010f8bd762aa3eff5ee5a9d5d265ad349c83 (diff) | |
download | fluxbox-75d289be65e12ac8c1b36a21ee9db8fee7cf1897.zip fluxbox-75d289be65e12ac8c1b36a21ee9db8fee7cf1897.tar.bz2 |
added support for _NET_WM_ALLOWED_ACTIONS and all the _NET_WM_ACTION_*. Added _NET_WM_STATE_MODAL and _NET_WM_WINDOW_TYPE_SPLASH
Diffstat (limited to 'src/WinClientUtil.hh')
-rw-r--r-- | src/WinClientUtil.hh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WinClientUtil.hh b/src/WinClientUtil.hh new file mode 100644 index 0000000..8ad0a03 --- /dev/null +++ b/src/WinClientUtil.hh | |||
@@ -0,0 +1,19 @@ | |||
1 | #ifndef WINCLIENTUTIL_H | ||
2 | #define WINCLIENTUTIL_H | ||
3 | |||
4 | #include "Window.hh" | ||
5 | |||
6 | /// window client utilities | ||
7 | namespace WinClientUtil { | ||
8 | |||
9 | /** | ||
10 | * Calculates the min of all maximum width/heights of all clients | ||
11 | * @param clients the client list | ||
12 | * @param width the return value of minimum of all max width of all clients | ||
13 | * @param height the return value of mimimum of all max heights of all clients | ||
14 | */ | ||
15 | void maxSize(const FluxboxWindow::ClientList &clients, | ||
16 | unsigned int &width, unsigned int &height); | ||
17 | } | ||
18 | |||
19 | #endif // WINCLIENTUTIL_H | ||