mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
This commit is contained in:
		
						commit
						f26ecd9f58
					
				
					 39 changed files with 618 additions and 589 deletions
				
			
		| 
						 | 
				
			
			@ -8,8 +8,8 @@
 | 
			
		|||
#include <wlr/types/wlr_box.h>
 | 
			
		||||
#include <xkbcommon/xkbcommon.h>
 | 
			
		||||
#include "list.h"
 | 
			
		||||
#include "layout.h"
 | 
			
		||||
#include "container.h"
 | 
			
		||||
#include "tree/layout.h"
 | 
			
		||||
#include "tree/container.h"
 | 
			
		||||
#include "wlr-layer-shell-unstable-v1-protocol.h"
 | 
			
		||||
 | 
			
		||||
// TODO: Refactor this shit
 | 
			
		||||
| 
						 | 
				
			
			@ -290,8 +290,8 @@ struct sway_config {
 | 
			
		|||
	char *floating_scroll_down_cmd;
 | 
			
		||||
	char *floating_scroll_left_cmd;
 | 
			
		||||
	char *floating_scroll_right_cmd;
 | 
			
		||||
	enum swayc_layouts default_orientation;
 | 
			
		||||
	enum swayc_layouts default_layout;
 | 
			
		||||
	enum sway_container_layout default_orientation;
 | 
			
		||||
	enum sway_container_layout default_layout;
 | 
			
		||||
	char *font;
 | 
			
		||||
	int font_height;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -315,8 +315,8 @@ struct sway_config {
 | 
			
		|||
	list_t *config_chain;
 | 
			
		||||
	const char *current_config;
 | 
			
		||||
 | 
			
		||||
	enum swayc_border_types border;
 | 
			
		||||
	enum swayc_border_types floating_border;
 | 
			
		||||
	enum sway_container_border border;
 | 
			
		||||
	enum sway_container_border floating_border;
 | 
			
		||||
	int border_thickness;
 | 
			
		||||
	int floating_border_thickness;
 | 
			
		||||
	enum edge_border_types hide_edge_borders;
 | 
			
		||||
| 
						 | 
				
			
			@ -347,7 +347,7 @@ struct sway_config {
 | 
			
		|||
		struct input_config *input_config;
 | 
			
		||||
		struct seat_config *seat_config;
 | 
			
		||||
		struct sway_seat *seat;
 | 
			
		||||
		swayc_t *current_container;
 | 
			
		||||
		struct sway_container *current_container;
 | 
			
		||||
	} handler_context;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -407,7 +407,8 @@ void output_get_identifier(char *identifier, size_t len,
 | 
			
		|||
	struct sway_output *output);
 | 
			
		||||
struct output_config *new_output_config(const char *name);
 | 
			
		||||
void merge_output_config(struct output_config *dst, struct output_config *src);
 | 
			
		||||
void apply_output_config(struct output_config *oc, swayc_t *output);
 | 
			
		||||
void apply_output_config(struct output_config *oc,
 | 
			
		||||
		struct sway_container *output);
 | 
			
		||||
void free_output_config(struct output_config *oc);
 | 
			
		||||
 | 
			
		||||
int workspace_output_cmp_workspace(const void *a, const void *b);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue