[mutter/wip/xinput2r: 57/66] ui: enable multidevice on frame windows



commit 7e711cf7bf6cfa0083cbc1d2e36a138be0386ec5
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 0fac3b0..b74a8f8 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -413,7 +413,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]