D17415: Fix event type checking

David Edmundson noreply at phabricator.kde.org
Fri Dec 7 21:31:18 GMT 2018


davidedmundson added a comment.


  Seems to be an XCB bug.
  
  We should have wrappers for both:
  
  XkbNewKeyboardNotify, XkbMapNotify, etc.
  
  and
  
  XkbNewKeyboardNotifyMask, XkbMapNotifyMask, etc.
  
  the latter being used for event selection masks.
  
  That's what XKB.h from X11 has, and XCB normally copies that.
  
  But you're right, XCB only has an enum with names from the first one and with the values from the second :/
  
  ---
  
  My rules for workarounds is we should have an upstream bug report submitted and a comment in the code.
  
  There's a bug report already here: https://bugs.freedesktop.org/show_bug.cgi?id=51295

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D17415

To: amantia, #plasma, #plasma_accessibility, aacid
Cc: davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181207/81432b4d/attachment-0001.html>


More information about the Plasma-devel mailing list