diff options
author | marion | 2008-01-17 13:12:16 +0000 |
---|---|---|
committer | marion | 2008-01-17 13:12:16 +0000 |
commit | ac09f61ab379f723c51838d9669c574da3fa82af (patch) | |
tree | 301d6e99f94629748a1a1fce8186d1bdab0388f9 | |
parent | 26bc3729d0fc2ed0d1dce9fa526f7c724110c31c (diff) | |
download | mtc-ac09f61ab379f723c51838d9669c574da3fa82af.zip mtc-ac09f61ab379f723c51838d9669c574da3fa82af.tar.gz mtc-ac09f61ab379f723c51838d9669c574da3fa82af.tar.bz2 mtc-ac09f61ab379f723c51838d9669c574da3fa82af.tar.xz |
Rectification de la correction précédente
-rw-r--r-- | src/MTools.pm | 2 | ||||
-rw-r--r-- | src/MTools/Adapters/WacomAdapter.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/MTools.pm b/src/MTools.pm index 8da4277..aa8d94e 100644 --- a/src/MTools.pm +++ b/src/MTools.pm @@ -760,7 +760,7 @@ sub minstanciate { $path -> chggroup ($parent); $retour = $path; } - if (%options != undef) + if (%options) { $retour -> mconfigure (%options); } diff --git a/src/MTools/Adapters/WacomAdapter.pm b/src/MTools/Adapters/WacomAdapter.pm index 1ac654c..870ed31 100644 --- a/src/MTools/Adapters/WacomAdapter.pm +++ b/src/MTools/Adapters/WacomAdapter.pm @@ -72,6 +72,7 @@ sub binding { push (@{$self -> {buttons} -> {$1} -> {all}}, $cb); } elsif ($reg eq '<WPointer>') + { push (@{$self -> {pointers} -> {all}}, $cb); } |