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
ef894f34
Commit
ef894f34
authored
Sep 05, 2021
by
Xaver Hugl
Browse files
xdgshellclient: fix initial placement with maximize
BUG: 439986
parent
6a68caef
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/workspace.cpp
View file @
ef894f34
...
...
@@ -784,7 +784,7 @@ void Workspace::addShellClient(AbstractClient *client)
if
(
client
->
isRequestedFullScreen
())
{
placementDone
=
true
;
}
if
(
client
->
m
aximizeMode
()
==
MaximizeMode
::
MaximizeFull
)
{
if
(
client
->
requestedM
aximizeMode
()
==
MaximizeMode
::
MaximizeFull
)
{
placementDone
=
true
;
}
if
(
client
->
rules
()
->
checkPosition
(
invalidPoint
,
true
)
!=
invalidPoint
)
{
...
...
src/xdgshellclient.cpp
View file @
ef894f34
...
...
@@ -369,6 +369,7 @@ XdgToplevelClient::XdgToplevelClient(XdgToplevelInterface *shellSurface)
setOnActivities
({
a
->
current
()});
}
#endif
move
(
workspace
()
->
activeOutput
()
->
geometry
().
center
());
connect
(
shellSurface
,
&
XdgToplevelInterface
::
windowTitleChanged
,
this
,
&
XdgToplevelClient
::
handleWindowTitleChanged
);
...
...
Xaver Hugl
@zamundaaa
mentioned in commit
7caef067
·
Oct 04, 2021
mentioned in commit
7caef067
mentioned in commit 7caef067ac9c85dc5059f72090dd3420893dc9f5
Toggle commit list
Write
Preview
Supports
Markdown
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