screen.h

Go to the documentation of this file.
00001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
00002 
00003 /*
00004  * Copyright (C) 2008 Iain Holmes
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License as
00008  * published by the Free Software Foundation; either version 2 of the
00009  * License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful, but
00012  * WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00019  * 02111-1307, USA.
00020  */
00021 
00022 #ifndef META_SCREEN_H
00023 #define META_SCREEN_H
00024 
00025 #include <X11/Xlib.h>
00026 #include <glib.h>
00027 #include "types.h"
00028 
00029 int meta_screen_get_screen_number (MetaScreen *screen);
00030 MetaDisplay *meta_screen_get_display (MetaScreen *screen);
00031 
00032 Window meta_screen_get_xroot (MetaScreen *screen);
00033 void meta_screen_get_size (MetaScreen *screen,
00034                            int        *width,
00035                            int        *height);
00036 
00037 gpointer meta_screen_get_compositor_data (MetaScreen *screen);
00038 void meta_screen_set_compositor_data (MetaScreen *screen,
00039                                       gpointer    info);
00040 
00041 MetaScreen *meta_screen_for_x_screen (Screen *xscreen);
00042 
00043 #ifdef HAVE_COMPOSITE_EXTENSIONS
00044 void meta_screen_set_cm_selection (MetaScreen *screen);
00045 void meta_screen_unset_cm_selection (MetaScreen *screen);
00046 #endif
00047 
00048 #endif

Generated on Sat Aug 23 22:04:18 2008 for metacity by  doxygen 1.5.5