projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270bc92
)
use pixmap size for resizes in wl commit
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 6 Feb 2015 23:26:17 +0000
(18:26 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 6 Feb 2015 23:32:07 +0000
(18:32 -0500)
the client size should be this anyway, but we just refreshed the pixmap above so this is guaranteed to be accurate
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index 0dd17d48263add65c03c9e9772bdf26211019dc6..eb0f257f21ab62cfb2513d4cee86699e2c7b7792 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-2612,10
+2612,7
@@
e_comp_wl_surface_commit(E_Client *ec)
{
int nw, nh;
- nw = ec->client.w;
- nh = ec->client.h;
- if (nw == 0) nw = ec->comp_data->pending.w;
- if (nh == 0) nh = ec->comp_data->pending.h;
+ e_pixmap_size_get(ec->pixmap, &nw, &nh);
/* if the client has a shell configure, call it */
if ((ec->comp_data->shell.surface) &&