mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
More verbose comment
This commit is contained in:
parent
eafeb3ce97
commit
9d87facbba
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,10 @@ static struct wlr_surface*
|
|||
touch_get_coords(struct seat *seat, struct wlr_touch *touch, double x, double y,
|
||||
double *x_offset, double *y_offset)
|
||||
{
|
||||
/* Fall out if mouse emulation is set */
|
||||
/* Do not return a surface when mouse emulation is enforced. Not
|
||||
* having a surface will trigger the fallback to cursor move/button
|
||||
* emulation in the touch signal handlers.
|
||||
*/
|
||||
struct touch_config_entry *config_entry =
|
||||
touch_find_config_for_device(touch->base.name);
|
||||
if (config_entry && config_entry->force_mouse_emulation) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue