fix(client): try to fix #20

This commit is contained in:
Alexis
2018-08-15 01:53:43 +02:00
parent cee031d2fa
commit d1d51b76aa
2 changed files with 16 additions and 8 deletions

View File

@ -21,11 +21,12 @@ namespace waybar {
Gtk::Main gtk_main;
Glib::RefPtr<Gdk::Display> gdk_display;
struct wl_display *wlDisplay;
struct wl_registry *registry;
struct zwlr_layer_shell_v1 *layer_shell;
struct zxdg_output_manager_v1 *xdg_output_manager;
struct wl_seat *seat;
struct wl_display *wlDisplay = nullptr;
struct wl_registry *registry = nullptr;
struct zwlr_layer_shell_v1 *layer_shell = nullptr;
struct zxdg_output_manager_v1 *xdg_output_manager = nullptr;
struct wl_seat *seat = nullptr;
struct wl_output *wlOutput = nullptr;
std::vector<std::unique_ptr<Bar>> bars;
Client(int argc, char* argv[]);