Files
server/usr/share/apport/general-hooks/wayland_session.py
2026-01-07 20:52:11 +01:00

10 lines
260 B
Python

"""Detect if the current session is running under Wayland."""
import os
def add_info(report, unused_ui):
"""Add a tag if current session is running under Wayland."""
if os.environ.get("WAYLAND_DISPLAY"):
report.add_tags(["wayland-session"])