[PATCH wayland] scanner: server-side also emit SINCE macros for requests

David FORT rdp.effort at gmail.com
Fri Oct 9 13:07:48 PDT 2015


Server-side we need to know the versions for destructor requests.

Signed-off-by: David FORT <contact at hardening-consulting.com>
---
 src/scanner.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/scanner.c b/src/scanner.c
index f456aa5..406ba82 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1266,6 +1266,7 @@ emit_header(struct protocol *protocol, enum side side)
 			emit_structs(&i->request_list, i, side);
 			emit_opcodes(&i->event_list, i);
 			emit_opcode_versions(&i->event_list, i);
+			emit_opcode_versions(&i->request_list, i);
 			emit_event_wrappers(&i->event_list, i);
 		} else {
 			emit_structs(&i->event_list, i, side);
-- 
1.9.1



More information about the wayland-devel mailing list