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_WINDOW_H 00023 #define META_WINDOW_H 00024 00025 #include <glib.h> 00026 #include <X11/Xlib.h> 00027 00028 #include "boxes.h" 00029 #include "types.h" 00030 00031 MetaFrame *meta_window_get_frame (MetaWindow *window); 00032 gboolean meta_window_has_focus (MetaWindow *window); 00033 gboolean meta_window_is_shaded (MetaWindow *window); 00034 MetaRectangle *meta_window_get_rect (MetaWindow *window); 00035 MetaScreen *meta_window_get_screen (MetaWindow *window); 00036 MetaDisplay *meta_window_get_display (MetaWindow *window); 00037 Window meta_window_get_xwindow (MetaWindow *window); 00038 00039 #endif
1.5.5