Add "open_url" mouse action
This commit is contained in:
		
							parent
							
								
									8e80871c50
								
							
						
					
					
						commit
						b49925c86d
					
				| @ -139,6 +139,7 @@ bool string_parse_mouse_action(const char *s, enum mouse_action *ret) | ||||
|         STRING_PARSE_RET("close_all",      MOUSE_CLOSE_ALL); | ||||
|         STRING_PARSE_RET("context",        MOUSE_CONTEXT); | ||||
|         STRING_PARSE_RET("context_all",    MOUSE_CONTEXT_ALL); | ||||
|         STRING_PARSE_RET("open_url",       MOUSE_OPEN_URL); | ||||
| 
 | ||||
|         return false; | ||||
| } | ||||
|  | ||||
| @ -18,7 +18,7 @@ enum icon_position { ICON_LEFT, ICON_RIGHT, ICON_OFF }; | ||||
| enum vertical_alignment { VERTICAL_TOP, VERTICAL_CENTER, VERTICAL_BOTTOM }; | ||||
| enum separator_color { SEP_FOREGROUND, SEP_AUTO, SEP_FRAME, SEP_CUSTOM }; | ||||
| enum follow_mode { FOLLOW_NONE, FOLLOW_MOUSE, FOLLOW_KEYBOARD }; | ||||
| enum mouse_action { MOUSE_NONE, MOUSE_DO_ACTION, MOUSE_CLOSE_CURRENT, MOUSE_CLOSE_ALL, MOUSE_CONTEXT, MOUSE_CONTEXT_ALL }; | ||||
| enum mouse_action { MOUSE_NONE, MOUSE_DO_ACTION, MOUSE_CLOSE_CURRENT, MOUSE_CLOSE_ALL, MOUSE_CONTEXT, MOUSE_CONTEXT_ALL, MOUSE_OPEN_URL }; | ||||
| #ifndef ZWLR_LAYER_SHELL_V1_LAYER_ENUM | ||||
| #define ZWLR_LAYER_SHELL_V1_LAYER_ENUM | ||||
| // Needed for compiling without wayland dependency
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lukas Radermacher
						Lukas Radermacher