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:
c054506
)
return NULL when a client's xwayland pixmap is unreachable
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 2 Jul 2015 18:57:01 +0000
(14:57 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 2 Jul 2015 18:57:01 +0000
(14:57 -0400)
src/bin/e_comp_wl.h
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.h
b/src/bin/e_comp_wl.h
index f094c8eab48cf1b237908a8418acb2d3d5322c1e..e66263430a49ab20aa71ba859423bb96a080659a 100644
(file)
--- a/
src/bin/e_comp_wl.h
+++ b/
src/bin/e_comp_wl.h
@@
-316,7
+316,7
@@
e_comp_wl_client_xwayland_data(const E_Client *ec)
static inline E_Pixmap *
e_comp_wl_client_xwayland_pixmap(const E_Client *ec)
{
- return
((E_Comp_Wl_Client_Data*)ec->comp_data)->xwayland_pixmap
;
+ return
ec->comp_data ? ((E_Comp_Wl_Client_Data*)ec->comp_data)->xwayland_pixmap : NULL
;
}
static inline void