summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2020-05-13 16:39:58 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2020-05-13 16:45:57 +0900
commit1ef2364e0545c4db60280ea63ab8520be7e4f157 (patch)
tree7edae8f0b8b1d67483b8aa8c3069fb70037d433c
parenta2d40ca799d152f5766db704b410fee0c18944bb (diff)
downloadmodes-plugins-1ef2364e0545c4db60280ea63ab8520be7e4f157.tar.gz
modes-plugins-1ef2364e0545c4db60280ea63ab8520be7e4f157.tar.bz2
modes-plugins-1ef2364e0545c4db60280ea63ab8520be7e4f157.zip
-rw-r--r--display/DisplayDenyPalmTouch.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/display/DisplayDenyPalmTouch.cpp b/display/DisplayDenyPalmTouch.cpp
index a3fa98c..010221d 100644
--- a/display/DisplayDenyPalmTouch.cpp
+++ b/display/DisplayDenyPalmTouch.cpp
@@ -33,10 +33,6 @@ DisplayDenyPalmTouch::DisplayDenyPalmTouch()
int DisplayDenyPalmTouch::set(bool val)
{
- char *envString = getenv("XDG_RUNTIME_DIR");
- if (nullptr == envString)
- setenv("XDG_RUNTIME_DIR", "/run", 1);
-
ecore_wl2_init();
Ecore_Wl2_Display *displayHandle = ecore_wl2_display_connect(NULL);
if (nullptr == displayHandle) {