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
14513ebc
Commit
14513ebc
authored
Sep 19, 2022
by
Vlad Zahorodnii
Browse files
effects/mousemark: Specify effect chain position
BUG: 457639
parent
fdb40395
Pipeline
#234593
passed with stage
in 11 minutes and 56 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/effects/mousemark/mousemark.cpp
View file @
14513ebc
...
...
@@ -226,4 +226,9 @@ bool MouseMarkEffect::isActive() const
return
(
!
marks
.
isEmpty
()
||
!
drawing
.
isEmpty
())
&&
!
effects
->
isScreenLocked
();
}
int
MouseMarkEffect
::
requestedEffectChainPosition
()
const
{
return
10
;
}
}
// namespace
src/effects/mousemark/mousemark.h
View file @
14513ebc
...
...
@@ -28,6 +28,7 @@ public:
void
reconfigure
(
ReconfigureFlags
)
override
;
void
paintScreen
(
int
mask
,
const
QRegion
&
region
,
ScreenPaintData
&
data
)
override
;
bool
isActive
()
const
override
;
int
requestedEffectChainPosition
()
const
override
;
// for properties
int
configuredWidth
()
const
...
...
Vlad Zahorodnii
@vladz
mentioned in commit
11f7387b
·
Sep 19, 2022
mentioned in commit
11f7387b
mentioned in commit 11f7387bad280bd0be50432fb1baf370db5f2a4f
Toggle commit list
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