summaryrefslogtreecommitdiffstats
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-02-27 09:30:33 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-02-27 09:30:33 +0000
commit9501986047056c9f6ca954817ae597e302028f2e (patch)
tree879a6011d27a3864138cd08d1734f65886b7853b /apps/plugins/properties.c
parent8e9f3bbecc5615e3e43835cc025829b29efc3aa6 (diff)
downloadrockbox-9501986047056c9f6ca954817ae597e302028f2e.tar.gz
rockbox-9501986047056c9f6ca954817ae597e302028f2e.tar.bz2
rockbox-9501986047056c9f6ca954817ae597e302028f2e.zip
Blindly forcing stylus mode on plugin entry for an arbitrary subset of touch targets is a *REALLY BAD IDEA* so do it properly so we dont have to revert any commits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29417 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index 80c6a83870..feae0f7419 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -289,6 +289,9 @@ enum plugin_status plugin_start(const void* parameter)
char file[MAX_PATH];
if(!parameter) return PLUGIN_ERROR;
rb->strcpy(file, (const char *) parameter);
+#ifdef HAVE_TOUCHSCREEN
+ rb->touchscreen_set_mode(rb->global_settings->touch_mode);
+#endif
/* determine if it's a file or a directory */
bool found = false;