diff options
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 | ||