mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	fix(window): avoid hexpand
This commit is contained in:
		@@ -6,7 +6,6 @@ namespace waybar::modules::sway {
 | 
			
		||||
Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
 | 
			
		||||
    : ALabel(config, "window", id, "{}"), bar_(bar), windowId_(-1) {
 | 
			
		||||
  if (label_.get_max_width_chars() == -1) {
 | 
			
		||||
    label_.set_hexpand(true);
 | 
			
		||||
    label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
 | 
			
		||||
  }
 | 
			
		||||
  ipc_.subscribe(R"(["window","workspace"])");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user