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
e99f8bcb
Commit
e99f8bcb
authored
Oct 11, 2022
by
Xaver Hugl
Committed by
Vlad Zahorodnii
Oct 11, 2022
Browse files
wayland: don't allow maximization of applet popups
(cherry picked from commit
22e6b944
)
parent
36099b2f
Pipeline
#245972
failed with stage
in 22 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/xdgshellwindow.cpp
View file @
e99f8bcb
...
...
@@ -706,7 +706,7 @@ bool XdgToplevelWindow::isFullScreenable() const
bool
XdgToplevelWindow
::
isMaximizable
()
const
{
if
(
!
isResizable
())
{
if
(
!
isResizable
()
||
isAppletPopup
()
)
{
return
false
;
}
if
(
rules
()
->
checkMaximize
(
MaximizeRestore
)
!=
MaximizeRestore
||
rules
()
->
checkMaximize
(
MaximizeFull
)
!=
MaximizeFull
)
{
...
...
@@ -1648,7 +1648,7 @@ void XdgToplevelWindow::changeMaximize(bool horizontal, bool vertical, bool adju
return
;
}
if
(
!
isResizable
())
{
if
(
!
isResizable
()
||
isAppletPopup
()
)
{
return
;
}
...
...
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