Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
3acb1a78
Commit
3acb1a78
authored
Nov 19, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xkb: Don't call the seat's keyboard if it doesn't have one
Otherwise I can't start windowed kwin
parent
4f484180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xkb.cpp
xkb.cpp
+2
-2
No files found.
xkb.cpp
View file @
3acb1a78
...
...
@@ -273,7 +273,7 @@ void Xkb::updateKeymap(xkb_keymap *keymap)
void
Xkb
::
createKeymapFile
()
{
if
(
!
m_seat
)
{
if
(
!
m_seat
||
!
m_seat
->
keyboard
()
)
{
return
;
}
// TODO: uninstall keymap on server?
...
...
@@ -371,7 +371,7 @@ void Xkb::updateModifiers()
void
Xkb
::
forwardModifiers
()
{
if
(
!
m_seat
)
{
if
(
!
m_seat
||
!
m_seat
->
keyboard
()
)
{
return
;
}
m_seat
->
keyboard
()
->
updateModifiers
(
m_modifierState
.
depressed
,
...
...
Write
Preview
Markdown
is supported
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