screensaver: Remove wrong fields from Notify event
authorDaniel Martin <consume.noise@gmail.com>
Thu, 23 May 2013 20:35:02 +0000 (22:35 +0200)
committerPeter Harris <pharris@opentext.com>
Mon, 27 May 2013 16:06:13 +0000 (12:06 -0400)
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@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
src/screensaver.xml

index 9c7bccb..74d4ba7 100644 (file)
@@ -113,10 +113,7 @@ Draft Standard Version 1.1
   <!-- 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"/>