core: Add device map object

It will contain the input devices available
This commit is contained in:
Carlos Garnacho
2011-06-11 22:14:17 +02:00
parent a547596be4
commit 5da2ff0f4e
7 changed files with 621 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
#include "xprops.h"
#include "workspace-private.h"
#include "bell.h"
#include "device.h"
#include "input-events.h"
#include <meta/compositor.h>
#include <X11/Xatom.h>
@@ -478,6 +479,7 @@ meta_display_open (void)
the_display->static_gravity_works = g_getenv ("MUTTER_USE_STATIC_GRAVITY") != NULL;
meta_bell_init (the_display);
the_display->device_map = meta_device_map_new (the_display, TRUE);
meta_display_init_keys (the_display);