e_input_server_input : max_touch_count 77/262477/2
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 11 Aug 2021 11:48:42 +0000 (20:48 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 17 Aug 2021 10:33:30 +0000 (10:33 +0000)
apply max_mt_slot by using configured value when winfo init device

Change-Id: Ic3314ddfb7b3f55a21906a08e12de97dfd2b8b61

src/bin/e_info_server_input.c

index ca617901fada160c0f0c26cd42b94a799842911a..4d99a19c68ed128928dedc65a796c9c73f4f01c9 100644 (file)
@@ -63,7 +63,7 @@ _e_info_input_set_touch(struct uinput_user_dev *uinput_dev, int uinput_fd)
 
    if (e_config->configured_max_touch.use)
      {
-        max_mt_slot = e_input_touch_max_count_get() - 1;
+        max_mt_slot = e_config->configured_max_touch.count - 1;
 
         if (max_mt_slot < 0)
           max_mt_slot = 9;//set touch max count 10 by default