Project

General

Profile

Actions

Feature #2088

closed

Gracefully handle lack of X11 in XWrapper

Added by 0xd34df00d almost 2 years ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Overall
Target version:
Start date:
01/10/2025
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

Right now, XWrapper assumes that the display and the connection always exist. This is not necessarily the case now that Qt (and Linux world in general) embraced Wayland.

Perhaps XWrapper shouldn't be a singleton, but a std::optional-returning factory.

Actions

Also available in: Atom PDF