mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	fix: cancel thread and fix window close
This commit is contained in:
		@@ -10,8 +10,8 @@
 | 
			
		||||
waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
 | 
			
		||||
    : output(w_output),
 | 
			
		||||
      config(w_config),
 | 
			
		||||
      window{Gtk::WindowType::WINDOW_TOPLEVEL},
 | 
			
		||||
      surface(nullptr),
 | 
			
		||||
      window{Gtk::WindowType::WINDOW_TOPLEVEL},
 | 
			
		||||
      layer_surface_(nullptr),
 | 
			
		||||
      anchor_(ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP),
 | 
			
		||||
      left_(Gtk::ORIENTATION_HORIZONTAL, 0),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user