Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227053 Details for
Bug 290695
games-strategy/wesnoth-1.6.5 may not work with media-libs/libsdl-1.2.14 in windowed mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix mouse clicking
libsdl-1.2.14-fix-mouse-clicking.patch (text/plain), 804 bytes, created by
Tim Harder
on 2010-04-08 19:43:52 UTC
(
hide
)
Description:
Fix mouse clicking
Filename:
MIME Type:
Creator:
Tim Harder
Created:
2010-04-08 19:43:52 UTC
Size:
804 bytes
patch
obsolete
>--- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig 2010-04-08 11:57:05.003169834 -0700 >+++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-08 12:33:51.690926340 -0700 >@@ -423,12 +423,15 @@ > if ( xevent.xcrossing.mode == NotifyUngrab ) > printf("Mode: NotifyUngrab\n"); > #endif >- if ( this->input_grab == SDL_GRAB_OFF ) { >- posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); >+ if ( (xevent.xcrossing.mode != NotifyGrab) && >+ (xevent.xcrossing.mode != NotifyUngrab) ) { >+ if ( this->input_grab == SDL_GRAB_OFF ) { >+ posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); >+ } >+ posted = SDL_PrivateMouseMotion(0, 0, >+ xevent.xcrossing.x, >+ xevent.xcrossing.y); > } >- posted = SDL_PrivateMouseMotion(0, 0, >- xevent.xcrossing.x, >- xevent.xcrossing.y); > } > break; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 290695
: 227053