Protect colormap add/removal with display lock
This fixes a bug where concurrent threads call XCreateColormap and XFreeColormap corrupting a linked list where colormap structures are stored.
Fixes: #94 (closed)
Signed-off-by: Tapani Pälli tapani.palli@intel.com