Commit aaca1229 authored by Martin Flöser's avatar Martin Flöser
Browse files

Placement::placeAtRandom operates on AbstractClient

parent 4d077c42
......@@ -129,7 +129,7 @@ void Placement::place(Client* c, QRect& area, Policy policy, Policy nextPlacemen
/*!
Place the client \a c according to a simply "random" placement algorithm.
*/
void Placement::placeAtRandom(Client* c, const QRect& area, Policy /*next*/)
void Placement::placeAtRandom(AbstractClient* c, const QRect& area, Policy /*next*/)
{
const int step = 24;
static int px = step;
......
......@@ -64,7 +64,7 @@ public:
void place(Client* c, QRect& area);
void placeAtRandom(Client* c, const QRect& area, Policy next = Unknown);
void placeAtRandom(AbstractClient* c, const QRect& area, Policy next = Unknown);
void placeCascaded(Client* c, QRect& area, Policy next = Unknown);
void placeSmart(AbstractClient* c, const QRect& area, Policy next = Unknown);
void placeMaximizing(Client* c, QRect& area, Policy next = Unknown);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment