title: How to create a mapped but not visible window with XLib?
body: <p>I'm working on a I/O verification tool based on Linux in a game project. It is written in C++, and,since using the same I/O module as our game, it's based on OIS 1.2. Thus, though all I need is to print users' inputs on the console, I still need to create a window for OIS.</p>
  
  <p>So here comes my question: How can I create a mapped window while it is still invisible and processes keyboard events?</p>
  
  <p>I can't unmapped the window in that it won't process any keyboard event anymore. I also can't find function for show/hide a window.(maybe I search through a wrong diretion...)</p>
  
  <p>My little tool works fine now except there is a stupid top-level empty window which needs to be focused for processing keyboard events...</p>
  
  <p>Any advise is welcomed.</p>
  
  <p>Thanks!!!</p>