Compare commits

..
Author SHA1 Message Date
Rico Tiongson cd4aa0a49d Defer patch to GESTURE_SWIPE_UPDATE regex pattern instead of modifying GESTURE_SWIPE_BEGIN 2019-05-02 10:25:42 +08:00
Rico Tiongson 43fe2bb9b3 Patch missing GESTURE_SWIPE_BEGIN for Microsoft Surface Pro
Touchpad for Microsoft Surface Pro doesn't show GESTURE_SWIPE_BEGIN
in comfortable-swipe debug due to unresolved bug from libinput.
This fix temporarily patches that issue by adding UPDATE pattern to
the gesture begin regex.
2019-05-01 19:01:23 +08:00
Rico Tiongson dda91b7178 Update wrong default config values in README 2019-03-21 18:08:03 +08:00
3 changed files with 7 additions and 6 deletions

No files matched your search

+4 -4
View File
@@ -61,13 +61,13 @@ comfortable-swipe restart
Property | Description | Default Value | Default Behavior Property | Description | Default Value | Default Behavior
--------- | ----------- | -------------- | ----- --------- | ----------- | -------------- | -----
threshold | mouse pixels to activate swipe; higher = less sensitive; floating-point (Note: Sky is the limit! Can be as large as 1000.0) | 0.0 threshold | mouse pixels to activate swipe; higher = less sensitive; floating-point (Note: Sky is the limit! Can be as large as 1000.0) | 0.0
left3 | 3-finger swipe left | ctrl+shift+Right | switch to right workspace left3 | 3-finger swipe left | ctrl+alt+Right | switch to right workspace
left4 | 4-finger swipe left | ctrl+alt+shift+Right | move window to right workspace left4 | 4-finger swipe left | ctrl+alt+shift+Right | move window to right workspace
right3 | 3-finger swipe right | ctrl+shift+Left | switch to left workspace right3 | 3-finger swipe right | ctrl+alt+Left | switch to left workspace
right4 | 4-finger swipe right | ctrl+alt+shift+Left | move window to left workspace right4 | 4-finger swipe right | ctrl+alt+shift+Left | move window to left workspace
up3 | 3-finger swipe up | ctrl+shift+Down | switch to bottom workspace up3 | 3-finger swipe up | ctrl+alt+Down | switch to bottom workspace
up4 | 4-finger swipe up | ctrl+alt+shift+Down | move window to bottom workspace up4 | 4-finger swipe up | ctrl+alt+shift+Down | move window to bottom workspace
down3 | 3-finger swipe down | ctrl+shift+Down | switch to above workspace down3 | 3-finger swipe down | ctrl+alt+Down | switch to above workspace
down4 | 4-finger swipe down | ctrl+alt+shift+Up | move window to above workpace down4 | 4-finger swipe down | ctrl+alt+shift+Up | move window to above workpace
Taken from `man xdotool`: Taken from `man xdotool`:
+1 -1
View File
@@ -1 +1 @@
v1.0.3 v1.0.4
+2 -1
View File
@@ -177,7 +177,8 @@ namespace comfortable_swipe::gesture
else else
{ {
// not swiping, check if swipe will begin // not swiping, check if swipe will begin
if (std::regex_match(line, matches, gesture_swipe_begin) != 0) if (std::regex_match(line, matches, gesture_swipe_begin) != 0
|| std::regex_match(line, matches, gesture_swipe_update) != 0)
{ {
// assign necessary variables for swipe begin // assign necessary variables for swipe begin
this->flag_swiping = true; this->flag_swiping = true;