e16/src/globals.c

68 lines
2.8 KiB
C

/*
* Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included in
* all copies of the Software, its documentation and marketing & publicity
* materials, and acknowledgment shall be given in the documentation, materials
* and software packages that this Software was used.
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "E.h"
pid_t master_pid;
int master_screen;
int display_screens;
int single_screen_mode;
Display *disp;
ImlibData *id;
ImlibData *ird;
FnlibData *fd;
List *lists;
int event_base_shape;
Window comms_win;
Root root;
int (*(ActionFunctions[ACTION_NUMBEROF])) (void *);
EMode mode;
Desktops desks;
Window grab_window;
Window init_win1 = 0;
Window init_win2 = 0;
Window init_win_ext = 0;
Window bpress_win = 0;
int deskorder[ENLIGHTENMENT_CONF_NUM_DESKTOPS];
int sound_fd = -1;
char themepath[FILEPATH_LEN_MAX];
char themename[FILEPATH_LEN_MAX];
char *command;
char mustdel;
char queue_up;
char just_flipped = 0;
Menu *all_task_menu = NULL;
Menu *task_menu[ENLIGHTENMENT_CONF_NUM_DESKTOPS];
Menu *desk_menu = NULL;
Menu *group_menu = NULL;
char no_overwrite = 0;
Window external_pager_window = 0;
char clickmenu = 0;
Window last_bpress = 0;
int child_count = 0;
pid_t *e_children = NULL;
int numlock_mask = 0;
int scrollock_mask = 0;
int mask_mod_combos[8];
Group *current_group;
char *dstr = NULL;