bi4k8
6b0c194515
x11: do not treat init failure as fatal with Wayland
2022-12-24 09:42:03 -05:00
bi4k8
1eb88aeb43
x11, imlib2: early-exit in some X functions if X is not available at runtime
2022-12-24 09:42:03 -05:00
bi4k8
2a4f5216c1
x11, gui: update display-x11.cc to account for some code moved into gui.h/gui.cc
2022-12-24 09:42:03 -05:00
Brenden Matthews
4622c0e336
Change assert in set_font to check w/ debug.
...
This resolves #1292 .
2022-12-24 09:35:30 -05:00
Gene Carlson
fc8d778435
Replace atoi and atol with strtol (most files).
2022-09-25 18:24:03 -04:00
François Revol
7cf80d5948
Work around linker missing objects when building tests
...
Since we rely on a global object ctor to add a display output to the
list, it is not referenced from anywhere else, so does not get linked in
when building tests since most objects are pulled from a static library.
Another option would be to use --whole-archive to link to it.
2022-09-10 20:39:11 +02:00
François Revol
5b22723a3b
Fix warnings
...
unused paramaters and (un)signed comparison mostly.
2022-09-10 20:39:11 +02:00
François Revol
e721119f04
Update copyright, authors.
...
Backported from 308f2cb8eac1f3165a6ab6170b3e63675c02dde0
2022-09-10 20:39:11 +02:00
François Revol
9a710fe17f
display: fix logging
2022-09-10 20:39:11 +02:00
François Revol
568de329ef
Move X11 font stuff to display-x11
2022-09-10 20:39:11 +02:00
François Revol
281097a2a5
move X11 stuff from conky.cc to display-x11
...
Still some things to sort out, but seems to work.
A lot of variables and calls had to be made non-static.
2022-09-10 20:39:11 +02:00
François Revol
fd683ee8ce
display-*: Fix copyright
2022-09-10 20:39:11 +02:00
François Revol
17ceb82079
Initial stubbing of display backends
...
Hopefully this will lead the way to adding support for things like
Wayland and Haiku graphics, cf. #56 .
We define a display_output_base class that display backends
can derive from to implement display-specific calls.
2022-09-10 20:39:11 +02:00