[Xcb] [PATCH proto 1/2] screensaver: Remove wrong fields from Notify event

Daniel Martin consume.noise at gmail.com
Thu May 23 13:35:02 PDT 2013


This fixes bug #63158:
    screensaver notify event specification is incorrect
    https://bugs.freedesktop.org/show_bug.cgi?id=63158

As stated in the bug report the response_type and sequence field will be
added automatically while parsing the specification. Additionally, the
pad field is wrong.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/screensaver.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/screensaver.xml b/src/screensaver.xml
index 9c7bccb..74d4ba7 100644
--- a/src/screensaver.xml
+++ b/src/screensaver.xml
@@ -113,10 +113,7 @@ <request name="Suspend" opcode="5">
   <!-- Events -->
 
   <event name="Notify" number="0">
-    <field type="CARD8" name="code"/>
     <field type="BYTE" name="state"/>    <!-- enum State -->
-    <pad bytes="1" />
-    <field type="CARD16" name="sequence_number"/>
     <field type="TIMESTAMP" name="time"/>
     <field type="WINDOW" name="root"/>
     <field type="WINDOW" name="window"/>
-- 
1.8.2.1



More information about the Xcb mailing list