~ubuntu-branches/ubuntu/raring/lmms/raring-proposed

« back to all changes in this revision

Viewing changes to plugins/zynaddsubfx/fltk/src/Fl_grab.cxx

  • Committer: Charlie Smotherman
  • Date: 2012-12-05 22:08:38 UTC
  • mfrom: (33.1.7 lmms_0.4.13)
  • Revision ID: cjsmo@cableone.net-20121205220838-09pjfzew9m5023hr
* New  Upstream release.
  - Minor tweaking to ZynAddSubFX, CALF, SWH plugins  and Stefan Fendt's RC
    filters.
  - Added UI fixes: Magnentic effect of knobs and Piano-roll fixes
  - Updated German localization and copyright year
* debian/lmms-common.install:
  - added /usr/share/applications so the lmms.desktop file will correctly
    install (LP: #863366)
  - This should also fix the Software Center not displaying lmms in sound
    and video (LP: #824231)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: Fl_grab.cxx 7351 2010-03-29 10:35:00Z matt $"
 
2
// "$Id: Fl_grab.cxx 8055 2010-12-18 22:31:01Z manolo $"
3
3
//
4
4
// Grab/release code for the Fast Light Tool Kit (FLTK).
5
5
//
6
 
// Copyright 1998-2009 by Bill Spitzak and others.
 
6
// Copyright 1998-2010 by Bill Spitzak and others.
7
7
//
8
8
// This library is free software; you can redistribute it and/or
9
9
// modify it under the terms of the GNU Library General Public
47
47
#endif
48
48
 
49
49
#ifdef __APPLE__
50
 
extern void MACsetkeywindow(void *nsw);
51
50
extern void *fl_capture;
52
51
#endif
53
52
 
59
58
      SetCapture(fl_capture);
60
59
#elif defined(__APPLE__)
61
60
      fl_capture = Fl_X::i(first_window())->xid;
62
 
      MACsetkeywindow(fl_capture);
 
61
      Fl_X::i(first_window())->set_key_window();
63
62
#else
64
63
      XGrabPointer(fl_display,
65
64
                   fl_xid(first_window()),
101
100
}
102
101
 
103
102
//
104
 
// End of "$Id: Fl_grab.cxx 7351 2010-03-29 10:35:00Z matt $".
 
103
// End of "$Id: Fl_grab.cxx 8055 2010-12-18 22:31:01Z manolo $".
105
104
//