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
e3e6b3de
Commit
e3e6b3de
authored
Nov 28, 2020
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platforms/x11: Use correct logging category
parent
b4609092
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
plugins/platforms/x11/standalone/x11_platform.cpp
plugins/platforms/x11/standalone/x11_platform.cpp
+4
-4
No files found.
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
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