1
/* Metacity X display handler */
4
* Copyright (C) 2001 Havoc Pennington
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation; either version 2 of the
9
* License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22
#ifndef META_DISPLAY_H
23
#define META_DISPLAY_H
27
#include "eventqueue.h"
29
typedef struct _MetaWindow MetaWindow;
30
typedef struct _MetaScreen MetaScreen;
31
typedef struct _MetaDisplay MetaDisplay;
39
MetaEventQueue *events;
41
GHashTable *window_ids;
44
gboolean meta_display_open (const char *name);
45
void meta_display_close (MetaDisplay *display);
46
MetaScreen* meta_display_screen_for_root (MetaDisplay *display,
49
MetaWindow* meta_display_lookup_window (MetaDisplay *display,
51
void meta_display_register_window (MetaDisplay *display,