[mutter/wayland] cursor-tracker: Move ref_count to the top



commit 08a8254debfa097d6574e1c3784d7b71597b4fb1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 31 14:18:48 2014 -0400

    cursor-tracker: Move ref_count to the top

 src/core/meta-cursor-tracker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/meta-cursor-tracker.c b/src/core/meta-cursor-tracker.c
index 7480ed6..84ccbf9 100644
--- a/src/core/meta-cursor-tracker.c
+++ b/src/core/meta-cursor-tracker.c
@@ -52,11 +52,11 @@
 #include "wayland/meta-wayland-private.h"
 
 typedef struct {
+  int ref_count;
+
   CoglTexture2D *texture;
   struct gbm_bo *bo;
   int hot_x, hot_y;
-
-  int ref_count;
 } MetaCursorReference;
 
 struct _MetaCursorTracker {


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