Skip to content

Commit

Permalink
showtouch: Disable by default; keybinding required to activate
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau committed Nov 6, 2024
1 parent 6a74607 commit 53029f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/showtouch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void main()
class wayfire_showtouch : public wf::per_output_plugin_instance_t
{
bool hook_set = false;
bool enabled = true;
bool enabled = false;
wf::pointf_t points[6];
wf::option_wrapper_t<wf::color_t> finger_color{"showtouch/finger_color"};
wf::option_wrapper_t<wf::color_t> center_color{"showtouch/center_color"};
Expand All @@ -128,8 +128,6 @@ class wayfire_showtouch : public wf::per_output_plugin_instance_t
OpenGL::render_begin();
program.compile(vertex_shader, fragment_shader);
OpenGL::render_end();
wf::get_core().connect(&on_touch_down);
wf::get_core().connect(&on_touch_up);
fade0.set(0.0, 0.0);
fade1.set(0.0, 0.0);
fade2.set(0.0, 0.0);
Expand Down

0 comments on commit 53029f0

Please sign in to comment.