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
e3e6b3de
Commit
e3e6b3de
authored
Nov 28, 2020
by
Vlad Zahorodnii
Browse files
platforms/x11: Use correct logging category
parent
b4609092
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/platforms/x11/standalone/x11_platform.cpp
View file @
e3e6b3de
...
...
@@ -187,11 +187,11 @@ bool X11StandalonePlatform::compositingPossible() const
if
(
!
Xcb
::
Extensions
::
self
()
->
isCompositeAvailable
())
{
qCDebug
(
KWIN_
COR
E
)
<<
"No composite extension available"
;
qCDebug
(
KWIN_
X11STANDALON
E
)
<<
"No composite extension available"
;
return
false
;
}
if
(
!
Xcb
::
Extensions
::
self
()
->
isDamageAvailable
())
{
qCDebug
(
KWIN_
COR
E
)
<<
"No damage extension available"
;
qCDebug
(
KWIN_
X11STANDALON
E
)
<<
"No damage extension available"
;
return
false
;
}
if
(
hasGlx
())
...
...
@@ -205,7 +205,7 @@ bool X11StandalonePlatform::compositingPossible() const
}
else
if
(
qstrcmp
(
qgetenv
(
"KWIN_COMPOSE"
),
"O2ES"
)
==
0
)
{
return
true
;
}
qCDebug
(
KWIN_
COR
E
)
<<
"No OpenGL or XRender/XFixes support"
;
qCDebug
(
KWIN_
X11STANDALON
E
)
<<
"No OpenGL or XRender/XFixes support"
;
return
false
;
}
...
...
@@ -365,7 +365,7 @@ void X11StandalonePlatform::invertScreen()
continue
;
}
if
(
gamma
->
size
)
{
qCDebug
(
KWIN_
COR
E
)
<<
"inverting screen using xcb_randr_set_crtc_gamma"
;
qCDebug
(
KWIN_
X11STANDALON
E
)
<<
"inverting screen using xcb_randr_set_crtc_gamma"
;
const
int
half
=
gamma
->
size
/
2
+
1
;
uint16_t
*
red
=
gamma
.
red
();
...
...
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