summaryrefslogtreecommitdiffstats
path: root/src/windowmanager.h
blob: 26d560679592bb410358cd63d9728e7541a9ed27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _WINDOWSMANAGER_H_
#define _WINDOWSMANAGER_H_

namespace WindowManager
{

/**
 * Make sure a window manager is running.
 * If none is running, start openbox.
 */
void ensureRunning();

/**
 * If we started openbox as the window manager,
 * terminate it, otherwise leave the current
 * one running.
 */
void stopOwnInstance(bool waitSync);

}

#endif