2dd391f527 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XTextWidth[16]() by own implementation  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								cd5a580c56 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: load fonts via xcb  
							
							... 
							
							
							
							FIXME: support xf86bigfont extension
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e0aa804354 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XQueryBestSize() by xcb_query_best_size()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b27fd4039e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace X(Un)InstallColormap() by xcb_(un)install_colormap()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8489fd6166 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: drop obsolete XGetVisualInfo() call and reundant colormaps  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a303769a49 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use new lookup table for visuals and cmaps mappings  
							
							... 
							
							
							
							Use the visuals lookup table introduced by previous commit for
looking up local vs upstream visuals and their colormaps.
Replacing the the old Xlib visuals table.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1879b61643 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: screen: record visuals and cmaps in separate table  
							
							... 
							
							
							
							Record the associations between host's and our visuals as well their
corresponding cmaps in a global table, which's used later for lookups.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								194d3adf17 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch visuals from XCB setup data instead of Xlib  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b173b478c2 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: screen move assigment between depths and visual assignment to own function  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e4ee9a2a9e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XParseGeometry() by own implementation  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e29fe1a86a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XGetWindowAttributes() by xcb_get_geometry()  
							
							... 
							
							
							
							Use xcb function instead of Xlib, and also spare one additional
(unused) request.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1bcfc40a16 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: collect upstream window geometry in one xRectangle struct  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								af5dfed95e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XGetKeyboardControl() by xcb_get_keyboard_control()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f55a2ce5d4 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XGetPointerMapping() by xcb_get_pointer_mapping()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a4c7daf61b 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XGetPointerControl() by xcb_get_pointer_control()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a03e39525e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XGetModifierMapping() by xcb_get_modifier_mapping()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ea0605d28e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch keyboard mapping via xcb  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b95ed60be0 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: add own copy of fixed xcb_xkb_get_kbd_by_name()  
							
							... 
							
							
							
							This is a temporary measure, until xcbproto / libxcb is fixed:
keep an own copy of the fixed xcb_xkb_get_kbd_by_name(), renamed
as xcb_xkb_get_kbd_by_name_1().
Once xcbproto/libxcb is fixed (and new xcb release is out), this
commit can be reverted.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8d367e1f48 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb for retrieving keymap controls  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								19524534b5 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSelectInput() by xcb_change_window_attributes()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d55900ade6 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetStandardProperties() by xcb functions  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ae44aaa61d 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch supported pixmap formats from xcb setup data  
							
							... 
							
							
							
							There's even no need to keep our own copies, since we can ask XCB's
copy any time.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d88ae96439 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch allowed screen depths from xcb screen info  
							
							... 
							
							
							
							There's even no need to keep our own copies, since we can ask XCB's
copy any time.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								790c268dbb 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: Pixmap: replace XGetImage() by xcb_get_image()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8ae264dc6b 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: GC: replace XGetImage() by xcb_get_image()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								64868aca8f 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDestroyWindow() by xnest_destroy_window()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								30d0b16c87 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCreatePixmapFromBitmapData() by xcb_put_image()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								30e163a92a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCreateBitmapFromData() by xcb_put_image()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f456d11fce 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDefineCursor() by xcb_change_window_attributes()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								851cfa3d80 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace xnestRecolorCursor() by xcb_recolor_cursor()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1544199ab5 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XFreeCursor() by xcb_free_cursor()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8ac51df8b0 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XStoreColors() by xcb_store_colors()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1a7ea374b4 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XQueryColors() by xcb_query_colors()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								159e4be499 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetWindowColormap() by xcb_change_window_attributes()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								eb780f9103 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetWMColormapWindows() by xcb_icccm_set_wm_colormap_windows_checked()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e675544c2b 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XIDs directly, instead of Xlib's GC  
							
							... 
							
							
							
							Now that no Xlib drawing functions used anymore, we can finally switch over
to using GC XID's directly, instead of Xlib's GC struct.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								673822fc4a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: GC: set stipple filling via xcb_change_gc  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9dea9b4766 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetClipMask() by xcb_change_gc()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ba05e5cf08 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetClipRectangles() by xnset_set_clip_rectangles()  
							
							... 
							
							
							
							Use XCB for setting clip rectangles.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								752753f32d 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XSetDashes() by xnest_set_dashes()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5d2964cade 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XChangeGC() by xcb_change_gc()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c4e45678f9 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XChangeKeyboardControl() by xcb_change_keyboard_control()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6aa4a648c9 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XChangePointerControl() by xcb_change_pointer_control  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5e2102c114 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XChangeWindowAttributes() by xcb_aux_change_window_attributes()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								37fef0283f 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawImageString() by xcb_image_text_8()  
							
							... 
							
							
							
							Replace XDrawImageString() by xcb_image_text_8(), as well as their 16-bit
counterparts.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ee178f6c0f 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawString[8|16]() by xcb_poly_text_[8|16]()  
							
							... 
							
							
							
							Replace XDrawString8() by xcb_poly_text_8(), as well as XDrawString16()
by xcb_poly_text_16(). Some care needs to be taken to prepend the xTextElt
header before sending the request out.
GC operation handlers don't need to care about poly-strings or length
above 254, as this is already handled by their caller, doPolyText().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								285891937e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XFillRectangles() by xcb_poly_fill_rectangle()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4ead7aae1a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: directly pass ClearArea request to upstream server  
							
							... 
							
							
							
							Instead of going through mi machinery, just pass the ClearArea
request to the upstream window.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d68173ae88 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XFillArcs() by xcb_poly_fill_arc()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								931986df82 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XFillPolygon() by xcb_fill_poly()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d51ce21309 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCopyPlane() by xcb_copy_plane()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								41bb4090f3 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCopyArea() by xcb_copy_area()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d502a711b5 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawArcs() by xcb_poly_arc()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								91c736f83a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawRectangles() by xcb_poly_rectangle()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								31e9a5fa88 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawSegments() by xcb_poly_segment()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								640644517f 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawLines() by xcb_poly_line()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f41ab0f811 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XDrawPoints() by xcb_poly_point()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f244df81e6 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCreateColormap() / XFreeColormap() by xcb  
							
							... 
							
							
							
							Use xcb_create_colormap() and XFreeColormap() instead of XCreateColormap()
and XFreeColormap().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								fbf3001ee6 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb instead of XShapeCombineRegion() and XShapeCombineMask()  
							
							... 
							
							
							
							Using xcb_shape_rectangles() and xcb_shape_mask() instead of Xlib's
XShapeCombineRegion() and XShapeCombineMask().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								024dd0964d 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb_put_image() for PutImage requests  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								51534064a5 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb_put_image() for creating cursors  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								71c9cfee23 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCreatePixmapCursor() by xcb_create_cursor()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7e88fea331 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XConfigureWindow() calls by xcb_configure_window()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3b05bcb799 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb for creating / destroying pixmaps  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								da3d670140 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XBell() by xcb_bell()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6569ea80c4 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use xcb for (un)mapping windows  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0b299452a4 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace XCreateWindow() by use xcb_create_window()  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e4b6534a16 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch root visual ID from screen data  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								05eb0c0d40 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch keycode min/max from setup data  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3518acebfe 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch image metrics from xcb connection setup data  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0399be750e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch default screen's root window from screen info  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0adf2195a2 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: add helper for retrieving GC XID on upstream connection  
							
							... 
							
							
							
							Upcoming patches will need to retieve GC's XIDs on the upstream connection.
Moving this out into separate .c file, in order to not creating more
dependencies on Xlib headers, which we wanna get rid of.
For now, looking at the Xlib GC structure, attached to our DDX GCs.
When all users of the Xlib GC have gone (ie. moved all consumers to xcb),
we'll create the GC via xcb directly, thus replacing the Xlib GC struct
by XID - the interface of this helper will remain the same.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								03466f7719 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch default colormap from xcb screen info  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8490dd628d 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch root window depth from screen info  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c10da6f93a 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch display size from xcb setup data  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9bd118d1f3 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch BlackPixel and WhitePixel from xcb setup data  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1c3b7afc6b 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: fetch xcb setup data  
							
							... 
							
							
							
							Fetching the setup data from xcb instead of Xlib, storing in our own struct,
holding all information needed for one particular upstream connection.
For now, there's only one, but future multi-upstream implementation will
change this to an array (and storing pointers to particular upstream in
various places).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								cf2e610b9d 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XCB_EVENT_MASK_* defines  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								88881f85f3 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XCB*_NONE instead of None  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f1344b3800 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XCB_BACK_PIXMAP_* defines  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6b640844fc 
								
							 
						 
						
							
							
								
								( !1654 ) xnest: replace ExposureMask by XCB_EVENT_MASK_EXPOSURE  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5b55c927f7 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: replace NotUseful by XCB_BACKING_STORE_NOT_USEFUL  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e274f6d8f7 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XCB_CONFIG_WINDOW_* defines instead of CW*  
							
							... 
							
							
							
							Use xcb's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								549018f099 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: use XCB_CW_* defines instead of CW*  
							
							... 
							
							
							
							Use XCB's defines instead of Xlib's ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								810e55893e 
								
							 
						 
						
							
							
								
								( !1654 ) Xnest: add xcb and x11-xcb as dependency  
							
							... 
							
							
							
							In order to transition to XCB, we need to link xcb, but temporarily
also x11-xcb.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4db414be39 
								
							 
						 
						
							
							
								
								( !1681 ) xfree86: common: use LogMessageVerb() instead of xf86Msg()  
							
							... 
							
							
							
							Both are doing same job, so no need to keep using an duplicated implementation.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9901de8070 
								
							 
						 
						
							
							
								
								( !1682 ) os: log: drop now meaningless XLOG_FLUSH option  
							
							... 
							
							
							
							Since we're not indirectly writing via FILE anymore, this option has
become meaningless: it meant flushing out our in-process buffer to
the kernel, but we're now doing direct write() calls anyways.
xf86 still accepts the "flush" config file flag for backwards compatibility,
but it hasn't any practical meaning anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:38 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c91ebfcaad 
								
							 
						 
						
							
							
								
								( !1799 ) xkb: unexport DDX entry points  
							
							... 
							
							
							
							These functions are entry points of the DDX (or stubs thereof), not supposed
to be called by any drivers, so no need to keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:37 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								fdb47fa524 
								
							 
						 
						
							
							
								
								( !1799 ) xkb: unexport internal variables  
							
							... 
							
							
							
							These aren't used by any drivers/modules, and it doesn't seem make much
sense doing so, thus no need to keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:37 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								988f1422f4 
								
							 
						 
						
							
							
								
								( !1801 ) os: unexport xstrtokenize()  
							
							... 
							
							
							
							Not used by any external drivers/modules, so no need to keep it public.
Since modesetting is using it, still needs _X_EXPORT, as long as it's
a module.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:37 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								666bfbb882 
								
							 
						 
						
							
							
								
								(1823) xwayland: protect from memory allocation failure  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4ffd62bba9 
								
							 
						 
						
							
							
								
								(1823) xwayland: replace xallocarray() by calloc()  
							
							... 
							
							
							
							Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								53c52da7d4 
								
							 
						 
						
							
							
								
								(1823) xnest: protect from memory allocation failure  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ba902d7885 
								
							 
						 
						
							
							
								
								(1823) xnest: replace xallocarray() by calloc()  
							
							... 
							
							
							
							Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d0b0877600 
								
							 
						 
						
							
							
								
								(1823) xfree86: protect from memory allocation failure  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								acec916223 
								
							 
						 
						
							
							
								
								(1823) xfree86: replace xallocarray() by calloc()  
							
							... 
							
							
							
							Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c435109314 
								
							 
						 
						
							
							
								
								(1823) xvfb: protect from memory allocation failure  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								eaae1fda47 
								
							 
						 
						
							
							
								
								(1823) xvfb: replace xallocarray() by calloc()  
							
							... 
							
							
							
							Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3e7eea1f76 
								
							 
						 
						
							
							
								
								(1823) kdrive: replace xallocarray() by calloc()  
							
							... 
							
							
							
							Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								529683fc53 
								
							 
						 
						
							
							
								
								(1827) xwin: drop redundant declaration of winValidateArgs()  
							
							... 
							
							
							
							../hw/xwin/InitOutput.c:89:2: warning: redundant redeclaration of ‘winValidateArgs’ [-Wredundant-decls]
   89 |  winValidateArgs(void);
      |  ^~~~~~~~~~~~~~~
In file included from ../hw/xwin/InitOutput.c:35:
../hw/xwin/win.h:1008:1: note: previous declaration of ‘winValidateArgs’ was here
 1008 | winValidateArgs(void);
      | ^~~~~~~~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:36 +02:00