Commit graph

  • ae7f554b8c module/i3: only call bar->refresh() from burst_done() callback Daniel Eklöf 2019-02-15 22:01:58 +01:00
  • f9044ec883 module/i3: add a 'burst_done()' callback Daniel Eklöf 2019-02-15 22:01:07 +01:00
  • 5e97c77c24 module/i3: remove unneeded includes Daniel Eklöf 2019-02-15 20:58:43 +01:00
  • e36ba56caf module/i3-common: being disconnected is usually not an error Daniel Eklöf 2019-02-15 20:57:31 +01:00
  • fce37e86e4 module/i3: break out I3 IPC receive loop Daniel Eklöf 2019-02-15 18:58:21 +01:00
  • 6df68f1c23 module/i3-common: const:ify Daniel Eklöf 2019-02-13 22:00:42 +01:00
  • 92319714c7 module/i3: break out send_pkg() Daniel Eklöf 2019-02-13 22:00:13 +01:00
  • 76dc4f82cd module/i3-common: always disconnect from XCB on error Daniel Eklöf 2019-02-13 21:57:36 +01:00
  • 37d15096f9 module/i3: break out get_socket_address() Daniel Eklöf 2019-02-13 21:53:53 +01:00
  • 6e44d8e04e module/i3: fix crash when there is no "current" workspace template Daniel Eklöf 2019-02-13 21:46:30 +01:00
  • 4d9ee6ff82 cmake: use find_program() to locate wayland-scanner binary Daniel Eklöf 2019-02-13 21:45:31 +01:00
  • 236511db88 Merge branch 'i3-expose-window-title' Daniel Eklöf 2019-02-12 22:13:29 +01:00
  • c34dc7f025 Merge branch 'master' into i3-expose-window-title Daniel Eklöf 2019-02-12 22:13:16 +01:00
  • 21b2e249bc cmake: install header files Daniel Eklöf 2019-02-12 22:12:35 +01:00
  • 0e41c6560b cmake: install header files Daniel Eklöf 2019-02-12 22:12:35 +01:00
  • 6f021b62de Merge branch 'master' into i3-expose-window-title Daniel Eklöf 2019-02-12 20:53:37 +01:00
  • 8c72d1f2a9 main: config: also support XDG_CONFIG_HOME/f00bar/config.yml Daniel Eklöf 2019-02-12 20:52:23 +01:00
  • bc4f1723d4 Merge branch 'master' into i3-expose-window-title Daniel Eklöf 2019-02-12 20:01:01 +01:00
  • 1e466a24ba Pull in wlr-protocols instead of wlroots Daniel Eklöf 2019-02-12 19:59:24 +01:00
  • ffd85cf4ae Merge branch 'master' into i3-expose-window-title Daniel Eklöf 2019-02-10 12:50:35 +01:00
  • 6a30f66894 README: wayland is now supported Daniel Eklöf 2019-02-10 12:50:23 +01:00
  • 97ff63044f module/i3: cleanup Daniel Eklöf 2019-02-10 12:15:23 +01:00
  • d631e47a5e module/i3: detect 'current' workspace while iterating workspaces Daniel Eklöf 2019-02-09 21:55:08 +01:00
  • 330ad48dfd module/i3: handle 'label' like an extra workspace called 'current' Daniel Eklöf 2019-02-09 21:48:28 +01:00
  • a3be2839e5 module/i3: avoid calling json_object_get_int() multiple times Daniel Eklöf 2019-02-09 16:58:08 +01:00
  • 83db675e01 module/i3: subscribe *before* requesting initial workspace list Daniel Eklöf 2019-02-09 13:14:08 +01:00
  • be4765fadd module/i3: 'dynlist' -> 'workspaces' Daniel Eklöf 2019-02-09 13:12:07 +01:00
  • 4100922b7a module/i3: allow 'content' to also contain a regular 'label' Daniel Eklöf 2019-02-09 13:06:36 +01:00
  • d565fbe2f0 module/i3: track active window title and application name Daniel Eklöf 2019-02-09 12:31:06 +01:00
  • 5ed6e0acbc module/i3: look for I3SOCK env variable before reading X properties Daniel Eklöf 2019-02-09 12:02:05 +01:00
  • 1c5d017dc3 Merge branch 'calloc-not-malloc' Daniel Eklöf 2019-02-10 12:29:14 +01:00
  • b6e61f9c7e modules: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 11:11:31 +01:00
  • 6bba9200cf particles: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 11:05:12 +01:00
  • 29e9cea1dd decorations: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 10:58:26 +01:00
  • 83591b9269 bar: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 10:55:42 +01:00
  • ad3a33cf3d bar/wayland: do *not* enable keyboard interactivity Daniel Eklöf 2019-02-07 18:27:09 +01:00
  • 8b527e3fe5 main: load config from config.yml, not config-wayland.yml Daniel Eklöf 2019-02-07 13:48:41 +01:00
  • ac11638303 PKGBUILD: add new wayland dependencies Daniel Eklöf 2019-02-07 13:00:52 +01:00
  • 57cbde064c PKGCONFIG: add missing xcb-util-wm (for xcb-ewmh) dependency Daniel Eklöf 2019-02-07 13:00:34 +01:00
  • 3b1998a8e3 Merge branch 'wayland' Daniel Eklöf 2019-02-07 12:49:45 +01:00
  • 68727006f3 ci: checkout git submodules Daniel Eklöf 2019-02-07 12:47:42 +01:00
  • f85117431a ci: install wayland-protocols Daniel Eklöf 2019-02-07 12:45:37 +01:00
  • 4b0c4c669c cmake: ensure the wayland-protocols package is available Daniel Eklöf 2019-02-07 12:45:05 +01:00
  • a62c7e675c ci: *append* to repository list Daniel Eklöf 2019-02-07 12:43:08 +01:00
  • 4ee2afa48f ci: add x11-only, wayland-only and plugins-as-shared-libraries builds Daniel Eklöf 2019-02-07 12:41:00 +01:00
  • da3185dc79 ci: re-enable wayland port Daniel Eklöf 2019-02-07 12:40:24 +01:00
  • 719d4b95d0 ci: wlroots is available in the "testing" repo (edge only) Daniel Eklöf 2019-02-07 12:37:55 +01:00
  • 7ff0f5a2f3 cmake: need CMake >= 3.13 since we use target_link_options() Daniel Eklöf 2019-02-07 12:26:05 +01:00
  • 5884300b5b cmake: use target_link_options() instead of setting CMAKE_EXE_LINKER_FLAGS Daniel Eklöf 2019-02-07 12:25:01 +01:00
  • e4f3695f5e cmake: (maybe) build xcb-stuff STATIC library with -fPIC Daniel Eklöf 2019-02-07 12:24:20 +01:00
  • d185f7237d bar: cmake: remove trailing whitespace Daniel Eklöf 2019-02-07 12:09:38 +01:00
  • ccd5948585 bar: cmake: not necessary when building STATIC, but we do depend on threads Daniel Eklöf 2019-02-07 12:07:53 +01:00
  • ae5029826b cmake: break out bar stuff to separate CMakeLists.txt Daniel Eklöf 2019-02-07 12:06:16 +01:00
  • 76655bc944 bar/wayland: much improved error handling Daniel Eklöf 2019-02-07 11:51:42 +01:00
  • e48d90ae12 bar/xcb: cleanup: don't try to free NULL resources Daniel Eklöf 2019-02-07 11:51:26 +01:00
  • f71aaf9615 bar: call backend->cleanup() when backend->setup() fails Daniel Eklöf 2019-02-07 11:50:52 +01:00
  • 0fc5778107 bar/wayland: wl_* APIs typically don't handle destroy(NULL) Daniel Eklöf 2019-02-07 11:22:02 +01:00
  • a831490462 modules: fix strncpy calls to ensure strings are NULL-terminated Daniel Eklöf 2019-02-06 18:10:06 +01:00
  • 0e3866186f plugin: for now, the defines *all* use the word PLUGIN Daniel Eklöf 2019-02-06 18:09:48 +01:00
  • 4a064ebfff bar/wayland: fix includes Daniel Eklöf 2019-02-06 18:04:32 +01:00
  • dbce871d27 module/i3: dynamically grow receive buffer when needed Daniel Eklöf 2019-02-06 16:30:46 +01:00
  • ed7b6e20d3 cmake: add function that generates custom commands for wayland protocols Daniel Eklöf 2019-02-06 16:13:24 +01:00
  • 9383142858 cmake: manually run pkg-config --variable=pkgdatadir wayland-protocols Daniel Eklöf 2019-02-06 16:01:18 +01:00
  • da062f26d5 cmake: remove hardcoded, local, path Daniel Eklöf 2019-02-06 15:41:21 +01:00
  • 70499654a3 module/i3: delay bar refresh until all received events have been processed Daniel Eklöf 2019-02-06 15:39:11 +01:00
  • 6562cb61df cmake: don't try to link againt xcb-errors when we didn't find it Daniel Eklöf 2019-02-03 20:09:02 +01:00
  • 63618b8fab ci: no working wayland dev environment on CI Daniel Eklöf 2019-02-03 20:07:03 +01:00
  • 727d7b343f cmake: initial support for building wayland-only, or x11-only Daniel Eklöf 2019-02-03 20:05:44 +01:00
  • f3b225adf7 make: let pkg_check_module() create targets Daniel Eklöf 2019-02-03 19:27:03 +01:00
  • 578c76326d cmake: pull in wlr-layer-shell-unstable-v1 from wlroots git submodule Daniel Eklöf 2019-02-03 19:12:58 +01:00
  • 73c62e9797 bar/wayland: cleanup Daniel Eklöf 2019-02-03 17:45:26 +01:00
  • 38c87ad165 ci: nein Daniel Eklöf 2019-02-03 17:35:29 +01:00
  • c7c378d844 ci: again Daniel Eklöf 2019-02-03 17:34:15 +01:00
  • 9ad7626b3f ci: how about now? Daniel Eklöf 2019-02-03 17:32:24 +01:00
  • 92d165e7e6 ci: switch to alpine:edge, which has wlroots Daniel Eklöf 2019-02-03 17:29:41 +01:00
  • 29b57bcc48 bar/wayland: call on_mouse() directly from listeners Daniel Eklöf 2019-02-03 15:28:32 +01:00
  • 85a1940e47 bar/wayland: free XDG outputs, and manager, in cleanup() Daniel Eklöf 2019-02-03 15:16:19 +01:00
  • c6fd99f005 bar/wayland: track XDG outputs, as this gets us the monitor identifiers Daniel Eklöf 2019-02-03 15:10:26 +01:00
  • c226f9f0c8 bar/wayland: initial support for multiple monitors Daniel Eklöf 2019-02-03 13:55:21 +01:00
  • 47ac57dd03 bar/wayland: cursor support Daniel Eklöf 2019-02-03 13:13:10 +01:00
  • 130043a259 bar/wayland: comment out most of the debug logging Daniel Eklöf 2019-02-03 12:21:42 +01:00
  • 8e769b491a module/i3: try SWAYSOCK before falling back to I3_SOCKET_PATH Daniel Eklöf 2019-02-03 12:20:59 +01:00
  • ed8e17c6c9 wayland: mucho wip: initial sort-of-working wayland backend Daniel Eklöf 2019-02-03 11:08:53 +01:00
  • ff88d87ca8 cmake: build bar XCB backend as a (static) library Daniel Eklöf 2019-01-29 21:46:54 +01:00
  • ffa4448b3c ci: build as much as possible Daniel Eklöf 2019-01-29 21:39:16 +01:00
  • 785fe8bb0c main: poll() return value is unused in release builds Daniel Eklöf 2019-01-29 21:38:21 +01:00
  • deb9105d3e main: move xcb_init() call to bar's XCB backend Daniel Eklöf 2019-01-29 21:37:38 +01:00
  • 9239d4298c main: drop xcb dependency Daniel Eklöf 2019-01-29 21:35:38 +01:00
  • 404a7a7dcd bar: xcb: remove unneeded braces Daniel Eklöf 2019-01-29 21:05:51 +01:00
  • 7f1567c973 bar: do generic cursor stuff in bar, not in backend Daniel Eklöf 2019-01-29 21:05:28 +01:00
  • 0684aaaf95 bar: xcb: cleanup Daniel Eklöf 2019-01-29 21:03:13 +01:00
  • 4954479e11 bar: generic setup shouldn't be done by a backend Daniel Eklöf 2019-01-29 21:02:10 +01:00
  • c2e7b1c507 bar: remove more includes that aren't needed anymore Daniel Eklöf 2019-01-29 21:01:16 +01:00
  • 36201e251e bar: no xcb stuff needed directly by bar anymore Daniel Eklöf 2019-01-29 21:00:27 +01:00
  • 88daaf0ab7 bar: wip: define a 'backend' interface Daniel Eklöf 2019-01-29 20:59:25 +01:00
  • f37dfbc727 module/mpd: free strdup:ed path string Daniel Eklöf 2019-01-29 20:58:55 +01:00
  • 2d104e4a7d bar: break out 'private' struct definition to a header file Daniel Eklöf 2019-01-29 20:20:11 +01:00
  • aa21991323 bar: move C file to subdirectory Daniel Eklöf 2019-01-29 20:18:37 +01:00
  • f5aebc07ef bar: break out all XCB specific code to separate functions Daniel Eklöf 2019-01-29 20:09:07 +01:00
  • 8d1afd027b module/xkb: initialize indicators Daniel Eklöf 2019-01-27 22:05:00 +01:00