On sway, gdk_device_get_window_at_position() in
xg_event_is_for_scrollbar always returns NULL, and all the touchscreen
press events are mishandled as on scrollbar.
We don't need to call xg_event_is_for_scrollbar, so removed the call.
* src/pgtkterm.c (button_event): Don't call xg_event_is_for_scrollbar.
}
}
+ /* xg_event_is_for_scrollbar() doesn't work correctly on sway, and
+ * we shouldn't need it.
+ */
+#if 0
if (f && xg_event_is_for_scrollbar (f, event))
f = 0;
+#endif
if (f)
{