2
0
Эх сурвалжийг харах

add missing xlib functions for getting and setting text properties

Wesley Kerfoot 1 сар өмнө
parent
commit
a9e9e88f06

+ 12 - 0
vendor/x11/xlib/xlib_procs.odin

@@ -389,6 +389,18 @@ foreign xlib {
 		requestor:   Window,
 		time:        Time,
 		) ---
+	GetTextProperty :: proc(
+		display:            ^Display,
+		window:             Window,
+		text_prop_return:   ^XTextProperty,
+		property:           Atom,
+		) -> Status ---
+	SetTextProperty :: proc(
+		display:     ^Display,
+		window:      Window,
+		text_prop:   ^XTextProperty,
+		property:    Atom,
+		) ---
 	// Creating and freeing pixmaps
 	CreatePixmap :: proc(
 		display:   ^Display,