LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-19-2013, 02:44 PM   #1
qweasd
Member
 
Registered: May 2010
Posts: 436

Rep: Reputation: Disabled
Strange mouse behavior in SDL games


Running Slackware 14.0 x64 with 3.6.11 kernel (Pat's config).

I am seeing an interesting bug in wesnoth and openttd, both SDL games I got from slackbuilds. When in full-screen, everything is great. But in window mode the left mouse click does nothing. Amazingly, Ctrl+LMB and LMB+RMB have the effect of LMB, as far as I can tell. Anyone else seen this?
 
Old 01-20-2013, 02:58 PM   #2
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 175

Rep: Reputation: Disabled
That is a known problem with SDL 1.2.14. There is also a corresponding entry in Wesnoth bugzilla:
https://gna.org/bugs/?14770

It points to this bug report on SDL bugzilla:
http://bugzilla.libsdl.org/show_bug.cgi?id=894

You'll find attached a patch accepted by upstream. I have tested briefly with Wesnoth, Dosbox and DosEmu and it worked with out any problems.

If you can't get around, I uploaded the modified SlackBuild with all needed files here:
http://bocke.na.rs/download/slackwar...4.0/fixes/sdl/

If you decide not to trust me, you can fetch only sdl.SlackBuild and SDL_x11events.c.diff.gz, compare (diff) them with the original SlackBuild and patch and then get the rest of files from an official Slackware mirror like:
ftp://ftp.slackware.com/pub/slackwar.../source/l/sdl/

Whatever fits you the best. Anyway, I hope this helps.

Btw, I reported the bug, so it might get resolved soon.
 
Old 01-20-2013, 03:13 PM   #3
qweasd
Member
 
Registered: May 2010
Posts: 436

Original Poster
Rep: Reputation: Disabled
Oodles of thanks. Marking it as solved.
 
Old 01-20-2013, 03:17 PM   #4
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 175

Rep: Reputation: Disabled
You're welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get fullscreen for sdl games mark_alfred Linux - Games 1 01-16-2012 04:31 PM
Strange behavior from X: screen freezing, keyboard disabled, mouse continues working creativename Slackware 1 06-21-2010 12:07 AM
strange VirrtualBox behavior re Mouse integration with XP client joutlancpa Slackware 3 05-10-2009 12:10 AM
Setting SDL up (sound in games) Janusz11 Linux - Games 1 07-15-2007 09:32 AM
AMD64 and SDL games segfaults... ssobeht Debian 2 06-06-2006 02:25 PM


All times are GMT -5. The time now is 01:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration