~vanvugt/compiz/fix-1009320

Viewing all changes in revision 3238.

  • Committer: Daniel van Vugt
  • Date: 2012-06-05 08:44:00 UTC
  • mfrom: (3237.1.2 fix-1005569.3)
  • Revision ID: daniel.van.vugt@canonical.com-20120605084400-v627i0spuiz3mynk
Fix up a few issues thumper pointed out in the fixes for LP: #1005569.

  * Use else instead of unconditional reset (makes the first call faster,
    but all others slower, negligibly)
  * Don't mask locals by reusing the same name
  * Remember to reset arg[7] for XkbStateNotify
  * Check for NULL strings. Don't dereference them, just treat as empty.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: