Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix extended mouse event to register the click for forward/back buttons #1532

Merged
merged 1 commit into from Oct 17, 2013

Conversation

madsensh
Copy link
Contributor

@madsensh madsensh commented Oct 4, 2013

This is my first github submission, so hopefully I got everything right… If not, I'm happy to fix it and re-submit.

For X11 clients, the extended mouse buttons (back / forward) do not seem to be passed through to the RDP server. I've been having this problem with a Logitech m510 mouse and multiple Ubuntu versions connecting to a Windows 8 machine. The back buttons work locally (in firefox, etc.) but are not passed to the RDP server. This problem has also been reported by others in both FreeRDP and Remmina:
http://forums.debian.net/viewtopic.php?f=30&t=104772
http://sourceforge.net/mailarchive/message.php?msg_id=29017116

The following pull request addressed this topic, at least partially. However, while the patch recognized the button events in xf_event.c, it did not actually apply them in xf_input_extended_mouse_event in xf_input.c.
#533

I've made a simple adjustment to xf_input.c to correct this issue, and the back and forward buttons work correctly now. Submitting the updated code for inclusion in the master branch.

@freerdp-bot
Copy link

Can one of the members verify this patch?

@awakecoding
Copy link
Member

@freerdp-bot test.

@freerdp-bot
Copy link

Test PASSed.
Refer to this link for build results: https://ci.freerdp.com/job/Github%20pull%20request%20tester/288/

awakecoding added a commit that referenced this pull request Oct 17, 2013
Fix extended mouse event to register the click for forward/back buttons
@awakecoding awakecoding merged commit e979dcf into FreeRDP:master Oct 17, 2013
@pascalBokBok
Copy link

Has there been a release with this fix?

@madsensh
Copy link
Contributor Author

I don't think there has been a release with this fix yet, and in fact it looks like there hasn't been an official release since 2012. For my purposes, I've been building from the latest source to get a working back button. I think there was some discussion on the developer mailing list about the release plans, so maybe inquire there if needed.

@madsensh madsensh deleted the backbutton branch April 21, 2014 22:23
@pascalBokBok
Copy link

@freerdp-bot release
😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants