atom: Coding-style cleanup and refactor
authorDan Nicholson <dbn.lists@gmail.com>
Thu, 26 Mar 2009 02:17:33 +0000 (19:17 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Thu, 26 Mar 2009 03:06:39 +0000 (20:06 -0700)
commit433a405c98f572c2620b614a1b8a1ef8d399b0e2
tree21ab722cd0fbfaf9a908452b372178c96f8ab61a
parentc88c0ba72531c0d1dddbfad9d18cfa0cc919fca7
atom: Coding-style cleanup and refactor

Some coding style nits were cleaned up. Additionally, most of the
functions have been collapsed from the libxkbfile version where there's
distinction with the Xlib atom functions when Display was set. Finally,
the InitAtoms function tests whether the table has already been created
by testing the pointer rather than using a static int.
src/atom.c