1
/* toon_globals.c - declare and initialise global variables
2
* Copyright (C) 1999-2001 Robin Hogan
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
Display *toon_display;
23
Window toon_root_override = 0;
24
int toon_x_offset = 0;
25
int toon_y_offset = 0;
26
int toon_display_width, toon_display_height;
27
GC toon_drawGC = NULL;
28
Region toon_windows = NULL;
29
unsigned int toon_nwindows = 0;
31
__ToonWindowData *toon_windata = NULL;
32
ToonData **toon_data = NULL;
36
/* Do the edges block movement?
37
* If only the sides and the bottom block movement then toon_edge_block = 2 */
38
char toon_edge_block = 0;
39
char toon_shaped_windows = 1;
40
/* If solid_popups is set to 0 then the toons fall behind `popup' windows.
41
* This includes the KDE panel */
42
char toon_solid_popups = 1;
44
char toon_error_message[TOON_MESSAGE_LENGTH] = "";
45
char toon_message[TOON_MESSAGE_LENGTH] = "";
46
int toon_max_relocate_up = TOON_DEFAULTMAXRELOCATE;
47
int toon_max_relocate_down = TOON_DEFAULTMAXRELOCATE;
48
int toon_max_relocate_left = TOON_DEFAULTMAXRELOCATE;
49
int toon_max_relocate_right = TOON_DEFAULTMAXRELOCATE;