xserver: don't activate window always when mapping
authorTiago Vignatti <tiago.vignatti@intel.com>
Fri, 18 May 2012 15:47:12 +0000 (18:47 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 18 May 2012 20:15:47 +0000 (16:15 -0400)
commit5cbb9c8a6b2651cca6a9b20572b4e6939068ce60
treea3a6e776545a0ad2685ef3eb20094d55fe3bd372
parentfabcf8fb86993144c3afa949b6d201600d1a90d2
xserver: don't activate window always when mapping

set_window_id is the one responsible for mapping the window and the shell will
decide whether a surface needs to be activated or not. But not always at
MapNotify. That was causing ugly behavior on non-toplevel windows.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
src/xserver-launcher.c