Merge "Add rpi network drivers by default"
[AGL/meta-agl.git] / meta-agl-bsp / meta-freescale-layer / recipes-graphics / wayland / weston-2.0.0 / fix-ivi-layout-for-IMX6-fbdev.patch
1 From 1b6dc7e5815d3aa02fd1d01b1334c03473e5cf72 Mon Sep 17 00:00:00 2001
2 From: Mihail Grigorov <michael.grigorov@konsulko.com>
3 Date: Wed, 14 Feb 2018 17:12:42 +0200
4 Subject: [PATCH] ivi-shell: event_mask must not be cleared after emit
5
6 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
7 ---
8  ivi-shell/ivi-layout.c | 18 ++----------------
9  1 file changed, 2 insertions(+), 16 deletions(-)
10
11 diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
12 index 64e4ead8..7d13fc88 100644
13 --- a/ivi-shell/ivi-layout.c
14 +++ b/ivi-shell/ivi-layout.c
15 @@ -917,20 +917,6 @@ commit_transition(struct ivi_layout* layout)
16  }
17  
18  static void
19 -send_surface_prop(struct ivi_layout_surface *ivisurf)
20 -{
21 -       wl_signal_emit(&ivisurf->property_changed, ivisurf);
22 -       ivisurf->pending.prop.event_mask = 0;
23 -}
24 -
25 -static void
26 -send_layer_prop(struct ivi_layout_layer *ivilayer)
27 -{
28 -       wl_signal_emit(&ivilayer->property_changed, ivilayer);
29 -       ivilayer->pending.prop.event_mask = 0;
30 -}
31 -
32 -static void
33  send_prop(struct ivi_layout *layout)
34  {
35         struct ivi_layout_layer   *ivilayer = NULL;
36 @@ -938,12 +924,12 @@ send_prop(struct ivi_layout *layout)
37  
38         wl_list_for_each_reverse(ivilayer, &layout->layer_list, link) {
39                 if (ivilayer->prop.event_mask)
40 -                       send_layer_prop(ivilayer);
41 +                       wl_signal_emit(&ivilayer->property_changed, ivilayer);
42         }
43  
44         wl_list_for_each_reverse(ivisurf, &layout->surface_list, link) {
45                 if (ivisurf->prop.event_mask)
46 -                       send_surface_prop(ivisurf);
47 +                       wl_signal_emit(&ivisurf->property_changed, ivisurf);
48         }
49  }
50  
51 -- 
52 2.11.0
53