Skip to content
GitLab
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
8d5e14eb
Commit
8d5e14eb
authored
Dec 15, 2014
by
Martin Flöser
Browse files
[tests] Renderingservertest supports maximizing a window
parent
21f8d7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/tests/renderingservertest.cpp
View file @
8d5e14eb
...
...
@@ -79,6 +79,13 @@ void CompositorWindow::surfaceCreated(KWayland::Server::ShellSurfaceInterface *s
}
}
);
connect
(
surface
,
&
ShellSurfaceInterface
::
maximizedChanged
,
this
,
[
surface
,
this
](
bool
maximized
)
{
if
(
maximized
)
{
surface
->
requestSize
(
size
());
}
}
);
connect
(
surface
->
surface
(),
&
SurfaceInterface
::
damaged
,
this
,
static_cast
<
void
(
CompositorWindow
::*
)()
>
(
&
CompositorWindow
::
update
));
connect
(
surface
,
&
ShellSurfaceInterface
::
destroyed
,
this
,
[
surface
,
this
]
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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