~ubuntu-branches/debian/sid/gource/sid

« back to all changes in this revision

Viewing changes to src/core/mousecursor.cpp

  • Committer: Package Import Robot
  • Author(s): Andrew Caudwell
  • Date: 2014-04-15 16:30:17 UTC
  • mfrom: (1.2.15)
  • Revision ID: package-import@ubuntu.com-20140415163017-ucdr2josj1spzrga
Tags: 0.41-1
* New upstream release
* Made VCS URIs canonical
* Changed watch file to look at Github for releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
}
141
141
 
142
142
bool MouseCursor::hasFocus() const {
143
 
#if SDL_VERSION_ATLEAST(1,3,0)
 
143
#if SDL_VERSION_ATLEAST(2,0,0)
144
144
    return (SDL_GetMouseFocus() == display.sdl_window);
145
145
#else
146
146
    return (SDL_GetAppState() & SDL_APPMOUSEFOCUS);