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
e26dca11
Commit
e26dca11
authored
May 12, 2022
by
Vlad Zahorodnii
Browse files
Drop Application::isClosingX11Connection()
It's unused.
parent
89b35c32
Pipeline
#175364
passed with stage
in 13 minutes and 13 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main.h
View file @
e26dca11
...
...
@@ -190,14 +190,6 @@ public:
return
m_defaultScreen
;
}
/**
* Returns @c true if we're in the middle of destroying the X11 connection.
*/
bool
isClosingX11Connection
()
const
{
return
m_isClosingX11Connection
;
}
#if KWIN_BUILD_ACTIVITIES
bool
usesKActivities
()
const
{
...
...
@@ -286,10 +278,6 @@ protected:
{
m_terminating
=
true
;
}
void
setClosingX11Connection
(
bool
set
)
{
m_isClosingX11Connection
=
set
;
}
protected:
static
int
crashes
;
...
...
@@ -311,7 +299,6 @@ private:
#endif
Platform
*
m_platform
=
nullptr
;
bool
m_terminating
=
false
;
bool
m_isClosingX11Connection
=
false
;
};
inline
static
Application
*
kwinApp
()
...
...
src/xwayland/xwayland.cpp
View file @
e26dca11
...
...
@@ -152,7 +152,6 @@ void Xwayland::uninstallSocketNotifier()
void
Xwayland
::
handleXwaylandFinished
()
{
disconnect
(
kwinApp
()
->
platform
(),
&
Platform
::
primaryOutputChanged
,
this
,
&
Xwayland
::
updatePrimary
);
m_app
->
setClosingX11Connection
(
true
);
delete
m_xrandrEventsFilter
;
m_xrandrEventsFilter
=
nullptr
;
...
...
@@ -165,8 +164,6 @@ void Xwayland::handleXwaylandFinished()
m_selectionOwner
.
reset
();
destroyX11Connection
();
m_app
->
setClosingX11Connection
(
false
);
}
void
Xwayland
::
handleXwaylandReady
()
...
...
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