| Path : /proc/self/root/usr/share/apport/general-hooks/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //proc/self/root/usr/share/apport/general-hooks/wayland_session.py |
"""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"])