Commit e3ecece
committed
Allow to disable concurrency check for all UIScreen inputs
Right now it is possible to disable concurrency check for InputHandler. However,
this class is created on demand in the InputManager used by the UIScreen which
means that a users are not able to disable concurrency_check without
re-implementation of the InputManager and InputHandler which is really cumbersome.
To solve this I'm adding a new property to InputManager and enable obtaining the
InputManager instance from the UIScreen.
The concurrency check shouldn't be disabled if you don't have a strong reason to
do it. It was implemented because without the check it's really hard to debug
when multiple screens are asking for the input at once. The main reason to disable it
is for error reporting after the application has crashed.
Related: rhbz#18074911 parent 033650e commit e3ecece
2 files changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
66 | 86 | | |
67 | 87 | | |
68 | 88 | | |
| |||
79 | 99 | | |
80 | 100 | | |
81 | 101 | | |
| 102 | + | |
82 | 103 | | |
83 | 104 | | |
84 | 105 | | |
| |||
102 | 123 | | |
103 | 124 | | |
104 | 125 | | |
| 126 | + | |
105 | 127 | | |
106 | 128 | | |
107 | 129 | | |
| |||
0 commit comments