Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
195
Issues
195
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
9d4c947b
Verified
Commit
9d4c947b
authored
Dec 03, 2020
by
André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore Xss idle monitor on wayland
Wayland doesn't provide XScreenSaver Extension.
parent
1609d931
Pipeline
#6819
passed with stages
in 5 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gajim/common/idle.py
gajim/common/idle.py
+5
-0
No files found.
gajim/common/idle.py
View file @
9d4c947b
...
...
@@ -28,6 +28,8 @@
from
gi.repository
import
GLib
from
gi.repository
import
GObject
from
gajim.common
import
app
from
gajim.common.const
import
Display
from
gajim.common.const
import
IdleState
log
=
logging
.
getLogger
(
'gajim.c.idle'
)
...
...
@@ -317,6 +319,9 @@ def _get_idle_monitor():
except
GLib
.
Error
as
error
:
log
.
info
(
'Idle time via D-Bus (GNOME) not available: %s'
,
error
)
if
app
.
is_display
(
Display
.
WAYLAND
):
return
try
:
return
XssIdleMonitor
()
except
OSError
as
error
:
...
...
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