mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	do not restack xwayland surfaces (wlroots!4756)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4756
This commit is contained in:
		
							parent
							
								
									d136dadf45
								
							
						
					
					
						commit
						c863f0ee3a
					
				
					 2 changed files with 0 additions and 12 deletions
				
			
		
							
								
								
									
										11
									
								
								client.h
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								client.h
									
										
									
									
									
								
							| 
						 | 
					@ -301,17 +301,6 @@ client_notify_enter(struct wlr_surface *s, struct wlr_keyboard *kb)
 | 
				
			||||||
		wlr_seat_keyboard_notify_enter(seat, s, NULL, 0, NULL);
 | 
							wlr_seat_keyboard_notify_enter(seat, s, NULL, 0, NULL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static inline void
 | 
					 | 
				
			||||||
client_restack_surface(Client *c)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
#ifdef XWAYLAND
 | 
					 | 
				
			||||||
	if (client_is_x11(c))
 | 
					 | 
				
			||||||
		wlr_xwayland_surface_restack(c->surface.xwayland, NULL,
 | 
					 | 
				
			||||||
				XCB_STACK_MODE_ABOVE);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
	return;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static inline void
 | 
					static inline void
 | 
				
			||||||
client_send_close(Client *c)
 | 
					client_send_close(Client *c)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -1367,7 +1367,6 @@ focusclient(Client *c, int lift)
 | 
				
			||||||
		wl_list_insert(&fstack, &c->flink);
 | 
							wl_list_insert(&fstack, &c->flink);
 | 
				
			||||||
		selmon = c->mon;
 | 
							selmon = c->mon;
 | 
				
			||||||
		c->isurgent = 0;
 | 
							c->isurgent = 0;
 | 
				
			||||||
		client_restack_surface(c);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/* Don't change border color if there is an exclusive focus or we are
 | 
							/* Don't change border color if there is an exclusive focus or we are
 | 
				
			||||||
		 * handling a drag operation */
 | 
							 * handling a drag operation */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue