[mutter/wip/xinput2] ui: enable multidevice on frame windows



commit 48a88a33ef0252b3495e28520d1efa0d4bcc74cb
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jul 27 00:31:20 2011 +0200

    ui: enable multidevice on frame windows
    
    This is so different pointers may have different
    cursors on them.

 src/ui/ui.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 3356177..7dc4ed0 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -396,7 +396,8 @@ meta_ui_create_frame_window (MetaUI *ui,
 		    &attrs, attributes_mask);
 
   gdk_window_resize (window, width, height);
-  
+  gdk_window_set_support_multidevice (window, TRUE);
+
   meta_frames_manage_window (ui->frames, GDK_WINDOW_XID (window), window);
 
   return GDK_WINDOW_XID (window);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]