Problem: High cpu usage with Wayland compositor
(lilydjwg, after v9.2.0010).
Solution: Partly revert patch v9.2.0010 for now
(Christoffer Aasted)
fixes: #19448
closes: #19451
Signed-off-by: Christoffer Aasted <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
* situations, sort of race condition).
*/
if (!input_available())
- {
-#ifdef GDK_WINDOWING_WAYLAND
- if (gui.is_wayland)
- g_main_context_iteration(NULL, FALSE);
- else
-#endif
- g_main_context_iteration(NULL, TRUE);
- }
+ g_main_context_iteration(NULL, TRUE);
// Got char, return immediately
if (input_available())
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 18,
/**/
17,
/**/