mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-30 19:44:17 +00:00 
			
		
		
		
	
						commit
						405280fd09
					
				
							
								
								
									
										8
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								dwl.c
									
									
									
									
									
								
							| @ -202,7 +202,7 @@ static Monitor *dirtomon(int dir); | ||||
| static void focusclient(Client *old, Client *c, int lift); | ||||
| static void focusmon(const Arg *arg); | ||||
| static void focusstack(const Arg *arg); | ||||
| static void fullscreenotify(struct wl_listener *listener, void *data); | ||||
| static void fullscreennotify(struct wl_listener *listener, void *data); | ||||
| static Client *focustop(Monitor *m); | ||||
| static void getxdecomode(struct wl_listener *listener, void *data); | ||||
| static void incnmaster(const Arg *arg); | ||||
| @ -628,7 +628,7 @@ createnotify(struct wl_listener *listener, void *data) | ||||
| 	c->destroy.notify = destroynotify; | ||||
| 	wl_signal_add(&xdg_surface->events.destroy, &c->destroy); | ||||
| 
 | ||||
| 	c->fullscreen.notify = fullscreenotify; | ||||
| 	c->fullscreen.notify = fullscreennotify; | ||||
| 	wl_signal_add(&xdg_surface->toplevel->events.request_fullscreen, &c->fullscreen); | ||||
| 	c->isfullscreen = 0; | ||||
| } | ||||
| @ -729,7 +729,7 @@ setfullscreen(Client *c, int fullscreen) | ||||
| } | ||||
| 
 | ||||
| void | ||||
| fullscreenotify(struct wl_listener *listener, void *data) | ||||
| fullscreennotify(struct wl_listener *listener, void *data) | ||||
| { | ||||
| 	Client *c = wl_container_of(listener, c, fullscreen); | ||||
| 	setfullscreen(c, !c->isfullscreen); | ||||
| @ -1892,7 +1892,7 @@ createnotifyx11(struct wl_listener *listener, void *data) | ||||
| 	c->destroy.notify = destroynotify; | ||||
| 	wl_signal_add(&xwayland_surface->events.destroy, &c->destroy); | ||||
| 
 | ||||
| 	c->fullscreen.notify = fullscreenotify; | ||||
| 	c->fullscreen.notify = fullscreennotify; | ||||
| 	wl_signal_add(&xwayland_surface->events.request_fullscreen, &c->fullscreen); | ||||
| 	c->isfullscreen = 0; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Stivvo
						Stivvo