source: users/toby/ports/devel/libsdl-devel/files/patch-src__video__cocoa__SDL_cocoawindow.m @ 54397

Last change on this file since 54397 was 54397, checked in by toby@…, 10 years ago

almost-working libsdl-devel port (actually builds on SL)

File size: 587 bytes
Line 
1--- src/video/cocoa/SDL_cocoawindow.m.orig      2009-07-17 11:45:41.000000000 -0700
2+++ src/video/cocoa/SDL_cocoawindow.m   2009-07-17 11:45:57.000000000 -0700
3@@ -167,6 +167,7 @@
4     int button;
5 
6     index = _data->videodata->mouse;
7+       printf("mouseDown %d\n", [theEvent buttonNumber]);
8     switch ([theEvent buttonNumber]) {
9     case 0:
10         button = SDL_BUTTON_LEFT;
11@@ -200,6 +201,7 @@
12     int button;
13 
14     index = _data->videodata->mouse;
15+       printf("mouseUp %d\n", [theEvent buttonNumber]);
16     switch ([theEvent buttonNumber]) {
17     case 0:
18         button = SDL_BUTTON_LEFT;
Note: See TracBrowser for help on using the repository browser.