mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #3675 from RedSoxFan/fix-move-tiling-self
seatop_move_tiling: use tab/stack parent not self
This commit is contained in:
		
						commit
						cc39bbdff3
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -150,6 +150,9 @@ static void handle_motion_postthreshold(struct sway_seat *seat) {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (edge) {
 | 
							if (edge) {
 | 
				
			||||||
			e->target_node = node_get_parent(&con->node);
 | 
								e->target_node = node_get_parent(&con->node);
 | 
				
			||||||
 | 
								if (e->target_node == &e->con->node) {
 | 
				
			||||||
 | 
									e->target_node = node_get_parent(e->target_node);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
			e->target_edge = edge;
 | 
								e->target_edge = edge;
 | 
				
			||||||
			node_get_box(e->target_node, &e->drop_box);
 | 
								node_get_box(e->target_node, &e->drop_box);
 | 
				
			||||||
			resize_box(&e->drop_box, edge, DROP_LAYOUT_BORDER);
 | 
								resize_box(&e->drop_box, edge, DROP_LAYOUT_BORDER);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue