projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33fdbbf
)
surface: Initialize current commit state before update
93/294393/3
author
Seunghun Lee
<shiin.lee@samsung.com>
Thu, 15 Jun 2023 00:53:31 +0000
(09:53 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 19 Jun 2023 08:19:18 +0000
(08:19 +0000)
Since the current state is used to distinguish updated fields, the
current state has to be initialied instead of accumulating.
Change-Id: Ibbed13100b949993a2d230200950c99cda4cc174
src/compositor/surface.c
patch
|
blob
|
history
diff --git
a/src/compositor/surface.c
b/src/compositor/surface.c
index
aa3c9fa
..
342378f
100644
(file)
--- a/
src/compositor/surface.c
+++ b/
src/compositor/surface.c
@@
-378,6
+378,7
@@
surface_commit_state(struct ds_surface *surface, struct ds_surface_state *next)
surface->sy += next->dy;
surface_update_damage(&surface->buffer_damage, &surface->current, next);
+ surface->current.committed = 0;
surface_state_move(&surface->current, next);
// FIXME no need?