summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-19 17:31:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-19 17:31:21 +0000
commit190150fae69cd0b7839b7f36c8139fff9079bb7f (patch)
treed86bdbe017c049bdb81452a67a5e7d915b46fdc0 /perl-install/c
parent25a532696b1a761d02d03bdbe7076258ca370fd3 (diff)
downloaddrakx-backup-do-not-use-190150fae69cd0b7839b7f36c8139fff9079bb7f.tar
drakx-backup-do-not-use-190150fae69cd0b7839b7f36c8139fff9079bb7f.tar.gz
drakx-backup-do-not-use-190150fae69cd0b7839b7f36c8139fff9079bb7f.tar.bz2
drakx-backup-do-not-use-190150fae69cd0b7839b7f36c8139fff9079bb7f.tar.xz
drakx-backup-do-not-use-190150fae69cd0b7839b7f36c8139fff9079bb7f.zip
no_comment
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 395b97173..d9107561f 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -98,9 +98,10 @@ Xtest(display)
RETVAL
void
-setMouseLive(display, type)
+setMouseLive(display, type, emulate3buttons)
char *display
int type
+ int emulate3buttons
CODE:
{
XF86MiscMouseSettings mseinfo;
@@ -108,7 +109,8 @@ setMouseLive(display, type)
if (d) {
if (XF86MiscGetMouseSettings(d, &mseinfo) == True) {
mseinfo.type = type;
- mseinfo.flags |= 128;
+ mseinfo.flags |= MF_REOPEN;
+ mseinfo.emulate3buttons = emulate3buttons;
XF86MiscSetMouseSettings(d, &mseinfo);
XFlush(d);
if (type == MTYPE_IMPS2) initIMPS2();