Commit graph

164 commits

Author SHA1 Message Date
Daniel Eklöf
c226f9f0c8 bar/wayland: initial support for multiple monitors
We don't actually support multiple monitors, but now we at least track
the available monitors.

This also adds support for the BAR_BOTTOM location.
2019-02-03 13:55:21 +01:00
Daniel Eklöf
47ac57dd03 bar/wayland: cursor support
This implements backend.set_cursor().
2019-02-03 13:13:10 +01:00
Daniel Eklöf
130043a259 bar/wayland: comment out most of the debug logging 2019-02-03 12:21:42 +01:00
Daniel Eklöf
ed8e17c6c9 wayland: mucho wip: initial sort-of-working wayland backend
Bar is drawn, though only TOP is supported atm. No
screen/display/output selection is possible yet. Mouse *click* works,
but not setting the cursor.

Lots of debug output, crappy code yada yada.
2019-02-03 11:08:53 +01:00
Daniel Eklöf
deb9105d3e main: move xcb_init() call to bar's XCB backend 2019-01-29 21:37:38 +01:00
Daniel Eklöf
404a7a7dcd bar: xcb: remove unneeded braces 2019-01-29 21:05:51 +01:00
Daniel Eklöf
7f1567c973 bar: do generic cursor stuff in bar, not in backend 2019-01-29 21:05:28 +01:00
Daniel Eklöf
0684aaaf95 bar: xcb: cleanup 2019-01-29 21:03:13 +01:00
Daniel Eklöf
4954479e11 bar: generic setup shouldn't be done by a backend 2019-01-29 21:02:10 +01:00
Daniel Eklöf
c2e7b1c507 bar: remove more includes that aren't needed anymore 2019-01-29 21:01:16 +01:00
Daniel Eklöf
36201e251e bar: no xcb stuff needed directly by bar anymore 2019-01-29 21:00:27 +01:00
Daniel Eklöf
88daaf0ab7 bar: wip: define a 'backend' interface
Implement the current XCB backend in terms of this new interface.
2019-01-29 20:59:25 +01:00
Daniel Eklöf
2d104e4a7d bar: break out 'private' struct definition to a header file 2019-01-29 20:20:11 +01:00
Daniel Eklöf
aa21991323 bar: move C file to subdirectory 2019-01-29 20:18:37 +01:00