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
f41fd9b9
Commit
f41fd9b9
authored
Jun 22, 2019
by
Aleix Pol Gonzalez
🐧
Browse files
--verbose
parent
0d43606d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland/display.h
View file @
f41fd9b9
...
...
@@ -205,7 +205,7 @@ public:
SlideManagerInterface
*
createSlideManager
(
QObject
*
parent
=
nullptr
);
DpmsManagerInterface
*
createDpmsManager
(
QObject
*
parent
=
nullptr
);
/** @since 5.
57
*/
/** @since 5.
60
*/
KeyStateInterface
*
createKeyStateInterface
(
QObject
*
parent
=
nullptr
);
/**
...
...
src/wayland/keystate_interface.cpp
View file @
f41fd9b9
...
...
@@ -86,9 +86,9 @@ void KeyStateInterface::setState(KeyStateInterface::Key key, KeyStateInterface::
auto
dptr
=
static_cast
<
KeyStateInterface
::
Private
*>
(
d
.
data
());
dptr
->
m_keyStates
[
int
(
key
)]
=
state
;
qDebug
()
<<
Q_FUNC_INFO
<<
"xxxxxxxx setting state"
<<
dptr
->
m_resources
<<
key
<<
state
;
for
(
auto
r
:
qAsConst
(
dptr
->
m_resources
))
for
(
auto
r
:
qAsConst
(
dptr
->
m_resources
))
{
org_kde_kwin_keystate_send_stateChanged
(
r
,
int
(
key
),
int
(
state
));
}
}
}
...
...
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