Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								69f0f68cc2 
								
							 
						 
						
							
							
								
								Open new views on output where cursor is  
							
							 
							
							
							
						 
						
							2021-07-13 21:50:02 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								3034da776b 
								
							 
						 
						
							
							
								
								xdg-shell: center view on first map  
							
							 
							
							... 
							
							
							
							...and take into account output layout co-ordinates.
Previously xdg-shell views were just positioned at (0, 0) on first map
regardless of output co-ordinates.
Fix issue #39  
							
						 
						
							2021-07-09 21:43:27 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jan Beich 
								
							 
						 
						
							
							
							
							
								
							
							
								874cc9e637 
								
							 
						 
						
							
							
								
								xdg: chase  swaywm/wlroots@9e58301df7  
							
							 
							
							... 
							
							
							
							src/xdg.c:269:48: error: no member named 'subsurfaces' in 'struct wlr_surface'
                wl_list_for_each(subsurface, &view->surface->subsurfaces,
                                              ~~~~~~~~~~~~~  ^
/usr/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each'
        for (pos = wl_container_of((head)->next, pos, member);  \
                                    ^~~~
/usr/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of'
        (__typeof__(sample))((char *)(ptr) -                            \
                                      ^~~
Based on 3162766eef 
							
						 
						
							2021-06-03 19:27:33 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								985ffd3691 
								
							 
						 
						
							
							
								
								xdg: fix subsurface damage bug  
							
							 
							
							... 
							
							
							
							Create struct view_child for each wlr_surface subsurface on first view
map. Firefox doesn't damage properly without this. 
							
						 
						
							2021-04-15 20:37:57 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								2a48f2801b 
								
							 
						 
						
							
							
								
								Create a linked list of SSD for each view  
							
							 
							
							
							
						 
						
							2021-03-21 21:46:16 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								fc76100fd5 
								
							 
						 
						
							
							
								
								Add ssd.h  
							
							 
							
							
							
						 
						
							2021-03-21 20:54:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								a262b729df 
								
							 
						 
						
							
							
								
								Rename deco.c ssd.c  
							
							 
							
							
							
						 
						
							2021-03-20 14:41:39 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								04d2ae39a9 
								
							 
						 
						
							
							
								
								xdg: improve positioning of new xdg-toplevel views  
							
							 
							
							... 
							
							
							
							Top/left align topmost parent.
Center-align children relative to parent. 
							
						 
						
							2021-03-20 14:30:45 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								d839889972 
								
							 
						 
						
							
							
								
								xdg: start unmaximized  
							
							 
							
							... 
							
							
							
							Some xdg-shell applications remember the (un)maximized states when last
closed. We could honour this state, but it makes the code cumbersome
regarding padding and position. Prefer to keep it simple. 
							
						 
						
							2021-03-17 20:56:03 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jan Beich 
								
							 
						 
						
							
							
							
							
								
							
							
								ad07acc13c 
								
							 
						 
						
							
							
								
								xdg: chase  swaywm/wlroots@f574ca934c  
							
							 
							
							... 
							
							
							
							src/xdg.c:180:2: warning: implicit declaration of function 'wlr_xdg_surface_for_each_popup' is invalid in C99 [-Wimplicit-function-declaration]
        wlr_xdg_surface_for_each_popup(view->xdg_surface, iterator, data);
        ^
ld: error: undefined symbol: wlr_xdg_surface_for_each_popup
>>> referenced by xdg.c:180 (src/xdg.c:180)
>>>               labwc.p/src_xdg.c.o:(xdg_toplevel_view_for_each_popup)
Based on 5438cc158a 
							
						 
						
							2021-03-13 23:23:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								b8c6f9c216 
								
							 
						 
						
							
							
								
								xdg: update padding on commit  
							
							 
							
							... 
							
							
							
							Maximize/unmaximize changes padding on XDG-shell views with CSD, so we
need to update padding to render cycle-view decoration correctly. 
							
						 
						
							2021-03-12 21:23:46 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								c1269adc40 
								
							 
						 
						
							
							
								
								xdg: on init, set maximize according to wlr_xdg_surface status  
							
							 
							
							
							
						 
						
							2021-03-08 21:56:57 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								9760a8157f 
								
							 
						 
						
							
							
								
								Create xdg-deco.c  
							
							 
							
							
							
						 
						
							2021-03-02 20:53:03 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								d54a998dd8 
								
							 
						 
						
							
							
								
								Handle wlr_surface->events.new_subsurface  
							
							 
							
							... 
							
							
							
							Add view-child.c, xdg-popup.c, subsurface.c in order to track damage
associated with new XDG subsurfaces. 
							
						 
						
							2021-03-02 20:37:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Alex Bryan 
								
							 
						 
						
							
							
							
							
								
							
							
								f5f8acc543 
								
							 
						 
						
							
							
								
								Merge branch 'maximize'  
							
							 
							
							
							
						 
						
							2021-02-27 17:14:24 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Alex Bryan 
								
							 
						 
						
							
							
							
							
								
							
							
								5e7f2c91a3 
								
							 
						 
						
							
							
								
								Added basic maximize support for xdg and xwayland  
							
							 
							
							
							
						 
						
							2021-02-27 17:10:53 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								133ea96f64 
								
							 
						 
						
							
							
								
								Simplify view margin/padding related code  
							
							 
							
							... 
							
							
							
							Fix xdg-shell CSD resize bug 
							
						 
						
							2021-02-27 16:55:10 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								011f20ef6b 
								
							 
						 
						
							
							
								
								xdg.c: damage outside view for popups  
							
							 
							
							
							
						 
						
							2021-02-17 20:42:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								54804fd3df 
								
							 
						 
						
							
							
								
								Implement damage tracking  
							
							 
							
							
							
						 
						
							2021-01-09 22:51:20 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								cb44f047f3 
								
							 
						 
						
							
							
								
								Add view_move()  
							
							 
							
							
							
						 
						
							2020-12-23 18:52:46 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								7c29bcb45e 
								
							 
						 
						
							
							
								
								xdg-shell: await configure serial before moving (issue  #11 )  
							
							 
							
							
							
						 
						
							2020-12-22 21:08:17 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								e0770a5672 
								
							 
						 
						
							
							
								
								Refactor view_move_resize()  
							
							 
							
							
							
						 
						
							2020-12-22 20:35:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								5f9c5a9d01 
								
							 
						 
						
							
							
								
								desktop: refactor desktop_focus_topmost_mapped_view()  
							
							 
							
							... 
							
							
							
							Rename from desktop_focus_next_mapped_view() to
desktop_focus_topmost_mapped_view() and only take struct server as
argument. 
							
						 
						
							2020-10-31 14:32:31 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								d5b9a65978 
								
							 
						 
						
							
							
								
								s/cursor_mode/input_mode/  
							
							 
							
							
							
						 
						
							2020-10-21 20:30:06 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								f752610e0b 
								
							 
						 
						
							
							
								
								desktop: refactor desktop_focus_view()  
							
							 
							
							
							
						 
						
							2020-10-08 20:08:41 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								aa0b2b8e9e 
								
							 
						 
						
							
							
								
								xdg-shell: add wlr_xdg_surface_ping()  
							
							 
							
							
							
						 
						
							2020-10-08 19:58:47 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								16c3869fca 
								
							 
						 
						
							
							
								
								view_impl: add for_each_surface()  
							
							 
							
							
							
						 
						
							2020-09-29 20:48:50 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								53b360dd11 
								
							 
						 
						
							
							
								
								Tiny .clang-format tweak  
							
							 
							
							
							
						 
						
							2020-09-28 21:35:18 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								581f4ea0c3 
								
							 
						 
						
							
							
								
								s/BUG_ON/assert/  
							
							 
							
							
							
						 
						
							2020-09-28 20:53:59 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								96e05057a3 
								
							 
						 
						
							
							
								
								Update .clang-format  
							
							 
							
							... 
							
							
							
							Align with wlroots style 
							
						 
						
							2020-09-28 20:41:41 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								166ad6e1dc 
								
							 
						 
						
							
							
								
								Refactor header files  
							
							 
							
							
							
						 
						
							2020-09-25 20:25:45 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								5351299cdd 
								
							 
						 
						
							
							
								
								xdg: only position topmost view  
							
							 
							
							
							
						 
						
							2020-09-25 20:22:18 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								3c90cb7945 
								
							 
						 
						
							
							
								
								desktop: focus next 'mapped' view on minimize  
							
							 
							
							
							
						 
						
							2020-09-18 20:28:48 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								b46fa5e006 
								
							 
						 
						
							
							
								
								xwayland: constrain view to top/left edge  
							
							 
							
							
							
						 
						
							2020-09-17 21:11:54 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								35ff6e5bb0 
								
							 
						 
						
							
							
								
								rcxml: s/csd/xdg_shell_server_side_deco  
							
							 
							
							
							
						 
						
							2020-09-15 21:10:02 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								090e78b85a 
								
							 
						 
						
							
							
								
								view: add 'struct border margin'  
							
							 
							
							... 
							
							
							
							Simplify various view interfaces as a result 
							
						 
						
							2020-09-15 20:41:01 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								fb6f7d42a5 
								
							 
						 
						
							
							
								
								Add desktop.c  
							
							 
							
							... 
							
							
							
							Move from view.c functions which work on server->views 
							
						 
						
							2020-09-11 20:48:28 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								e99d0bb34e 
								
							 
						 
						
							
							
								
								labwc.h: remove "extern struct server server"  
							
							 
							
							
							
						 
						
							2020-09-08 20:18:12 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								afaf78aa72 
								
							 
						 
						
							
							
								
								view: refactor view_next()  
							
							 
							
							
							
						 
						
							2020-09-07 19:47:11 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								d831743b25 
								
							 
						 
						
							
							
								
								xdg,xwl: rename functions  
							
							 
							
							
							
						 
						
							2020-09-03 21:40:27 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								bf3e4aa8d5 
								
							 
						 
						
							
							
								
								Add view_impl .map and .unmap  
							
							 
							
							... 
							
							
							
							Hook up iconify button to view->impl->unmap 
							
						 
						
							2020-09-03 21:05:00 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								625722cb66 
								
							 
						 
						
							
							
								
								Add view_impl .close  
							
							 
							
							
							
						 
						
							2020-09-02 21:00:28 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								c56fe23b2e 
								
							 
						 
						
							
							
								
								Add struct view_impl  
							
							 
							
							... 
							
							
							
							Support .configure 
							
						 
						
							2020-09-02 20:20:52 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								127eddfd96 
								
							 
						 
						
							
							
								
								Handle commit signal  
							
							 
							
							... 
							
							
							
							wlr_surface can change during xwayland map/unmap, so let's only update
view width and height after commit signal has been received. 
							
						 
						
							2020-08-31 08:12:44 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								042c157378 
								
							 
						 
						
							
							
								
								Track server-side-decoration per view  
							
							 
							
							
							
						 
						
							2020-08-06 14:51:45 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								7440919452 
								
							 
						 
						
							
							
								
								Add action.c  
							
							 
							
							
							
						 
						
							2020-06-18 20:18:01 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								6166e9b370 
								
							 
						 
						
							
							
								
								Read rc.xml and begin parsing  
							
							 
							
							
							
						 
						
							2020-06-05 23:04:54 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								6e0d11bff5 
								
							 
						 
						
							
							
								
								Adjust xdg-shell view position on first map  
							
							 
							
							
							
						 
						
							2020-06-01 19:42:15 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								a6ac2a0439 
								
							 
						 
						
							
							
								
								Minor style fixes  
							
							 
							
							
							
						 
						
							2020-05-29 22:26:16 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johan Malm 
								
							 
						 
						
							
							
							
							
								
							
							
								3b7e2c9e09 
								
							 
						 
						
							
							
								
								Add interactive.c  
							
							 
							
							
							
						 
						
							2020-05-29 21:27:34 +01:00