all repos — fluxbox @ 41b5c6dadb1f474675660cef18b812d4c2338ed2

custom fork of the fluxbox windowmanager

src/WinClientUtil.hh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef WINCLIENTUTIL_H
#define WINCLIENTUTIL_H

#include "Window.hh"

/// window client utilities
namespace WinClientUtil {

/**
 * Calculates the min of all maximum width/heights of all clients
 * @param clients the client list
 * @param width the return value of minimum of all max width of all clients
 * @param height the return value of mimimum of all max heights of all clients
 */
void maxSize(const FluxboxWindow::ClientList &clients,
             unsigned int &width, unsigned int &height);
}

#endif // WINCLIENTUTIL_H