Skip to content

Commit

Permalink
Remove test for seat->wl_pointer in render.c
Browse files Browse the repository at this point in the history
This test probably results in not rendering selection on touch devices.
  • Loading branch information
tmccombs authored and emersion committed Oct 12, 2020
1 parent 15d0197 commit 1625404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void render(struct slurp_output *output) {
&seat->touch_selection :
&seat->pointer_selection;

if (!seat->wl_pointer || !current_selection->has_selection) {
if (!current_selection->has_selection) {
continue;
}

Expand Down

0 comments on commit 1625404

Please sign in to comment.