src/video/x11/SDL_x11events_c.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 08 May 2006 06:38:13 +0000
changeset 1783 c546353b1ad4
parent 1402 d910939febfa
child 1784 45669d4efd02
permissions -rw-r--r--
Fixed bug #203

Disable screensaver and DPMS blanking while SDL app is running.
slouken@0
     1
/*
slouken@0
     2
    SDL - Simple DirectMedia Layer
slouken@1312
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@0
     4
slouken@0
     5
    This library is free software; you can redistribute it and/or
slouken@1312
     6
    modify it under the terms of the GNU Lesser General Public
slouken@0
     7
    License as published by the Free Software Foundation; either
slouken@1312
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@0
     9
slouken@0
    10
    This library is distributed in the hope that it will be useful,
slouken@0
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@0
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1312
    13
    Lesser General Public License for more details.
slouken@0
    14
slouken@1312
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1312
    16
    License along with this library; if not, write to the Free Software
slouken@1312
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@0
    18
slouken@0
    19
    Sam Lantinga
slouken@252
    20
    slouken@libsdl.org
slouken@0
    21
*/
slouken@1402
    22
#include "SDL_config.h"
slouken@0
    23
slouken@0
    24
#include "SDL_x11video.h"
slouken@0
    25
slouken@0
    26
/* Functions to be exported */
slouken@0
    27
extern void X11_InitOSKeymap(_THIS);
slouken@0
    28
extern void X11_PumpEvents(_THIS);
slouken@1327
    29
extern void X11_SetKeyboardState(Display *display, const char *key_vec);
slouken@0
    30
slouken@1783
    31
extern void X11_SaveScreenSaver(_THIS);
slouken@1783
    32
extern void X11_DisableScreenSaver(_THIS);
slouken@1783
    33
extern void X11_RestoreScreenSaver(_THIS);