projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0875d17
)
Elementary: Fix selection_has_owner function. Check for valid wl
author
Christopher Michael
<cpmichael1@comcast.net>
Wed, 29 Aug 2012 07:15:32 +0000
(07:15 +0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Wed, 29 Aug 2012 07:15:32 +0000
(07:15 +0000)
window. Thanks raster ;)
SVN revision: 75813
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
54a194b
..
a5b1b44
100644
(file)
--- a/
src/lib/elm_cnp.c
+++ b/
src/lib/elm_cnp.c
@@
-2059,7
+2059,8
@@
elm_selection_selection_has_owner(Evas_Object *obj)
return _x11_elm_selection_selection_has_owner(obj);
#endif
#ifdef HAVE_ELEMENTARY_WAYLAND
- return ecore_wl_dnd_selection_has_owner(ecore_wl_dnd_get());
+ if (elm_win_wl_window_get(obj))
+ return ecore_wl_dnd_selection_has_owner(ecore_wl_dnd_get());
#endif
return _local_elm_selection_selection_has_owner(obj);
}