ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_x.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/video_x.cpp (file contents):
Revision 1.29 by cebix, 2000-11-03T18:21:43Z vs.
Revision 1.30 by cebix, 2000-11-03T18:27:55Z

# Line 1670 | Line 1670 | static void handle_events(void)
1670  
1671                          // Window "close" widget clicked
1672                          case ClientMessage:
1673 <                                if (event.xclient.format == 32 && event.xclient.data.l[0] == WM_DELETE_WINDOW)
1674 <                                        XBell(x_display, 0);
1673 >                                if (event.xclient.format == 32 && event.xclient.data.l[0] == WM_DELETE_WINDOW) {
1674 >                                        ADBKeyDown(0x7f);       // Power key
1675 >                                        ADBKeyUp(0x7f);
1676 >                                }
1677                                  break;
1678                  }
1679          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines