yambar/bar
Daniel Eklöf d0f1f762ea
bar/xcb: fallback to non-primary monitor
If the user did *not* configured a specific monitor, we prefer the
primary monitor. However, if that monitor is disconnected, yambar
would exit with:

  no matching monitor

This patch changes this, to use the *last* connected monitor. It also
improves the error message.

Note: if the user did specify a monitor in the configuration, but
perhaps misspelled it, we will *not* fallback to another monitor, but
instead log an error saying that specific monitor could not be found.
2020-12-04 21:16:14 +01:00
..
backend.h bar: don't use cairo 2019-09-22 11:46:46 +02:00
bar.c bar, module: particles may no longer return NULL in instantiate() 2020-11-25 20:41:10 +01:00
bar.h cairo: replace cairo with pixman in decos, particles and modules 2019-09-22 01:56:58 +02:00
meson.build module/river: meson: explicitly add wl_proto_src + wl_proto_headers to sources 2020-09-24 17:30:18 +02:00
private.h bar: let backend check if xcursor should be updated or not 2020-07-09 19:02:02 +02:00
wayland.c bar/wayland: close command pipe FDs in cleanup 2020-11-25 20:36:45 +01:00
wayland.h wayland: mucho wip: initial sort-of-working wayland backend 2019-02-03 11:08:53 +01:00
xcb.c bar/xcb: fallback to non-primary monitor 2020-12-04 21:16:14 +01:00
xcb.h bar: wip: define a 'backend' interface 2019-01-29 20:59:25 +01:00