Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
a261b1c2
Commit
a261b1c2
authored
May 27, 2015
by
Martin Flöser
Browse files
Placement::placeCentered operates on AbstractClient
parent
b971749f
Changes
2
Hide whitespace changes
Inline
Side-by-side
placement.cpp
View file @
a261b1c2
...
...
@@ -451,7 +451,7 @@ void Placement::placeCascaded(Client* c, QRect& area, Policy nextPlacement)
/*!
Place windows centered, on top of all others
*/
void
Placement
::
placeCentered
(
Client
*
c
,
const
QRect
&
area
,
Policy
/*next*/
)
void
Placement
::
placeCentered
(
Abstract
Client
*
c
,
const
QRect
&
area
,
Policy
/*next*/
)
{
// get the maximum allowed windows space and desk's origin
...
...
placement.h
View file @
a261b1c2
...
...
@@ -68,7 +68,7 @@ public:
void
placeCascaded
(
Client
*
c
,
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeSmart
(
Client
*
c
,
const
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeMaximizing
(
Client
*
c
,
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeCentered
(
Client
*
c
,
const
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeCentered
(
Abstract
Client
*
c
,
const
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeZeroCornered
(
AbstractClient
*
c
,
const
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeDialog
(
Client
*
c
,
QRect
&
area
,
Policy
next
=
Unknown
);
void
placeUtility
(
Client
*
c
,
QRect
&
area
,
Policy
next
=
Unknown
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment