metacity r3818 - in trunk: . src/core



Author: tthurman
Date: Mon Aug 18 10:25:17 2008
New Revision: 3818
URL: http://svn.gnome.org/viewvc/metacity?rev=3818&view=rev

Log:
2008-08-18  Thomas Thurman  <tthurman gnome org>

        Adding doxygen headers to some files.

        * src/core/metacity-Xatomtype.h
        * src/core/main.c
        * src/core/screen-private.h
        * src/core/window-private.h
        * src/core/keybindings.h
        * src/core/session.h
        * src/core/workspace.h
        * src/core/window-props.h ()



Modified:
   trunk/ChangeLog
   trunk/src/core/keybindings.h
   trunk/src/core/main.c
   trunk/src/core/metacity-Xatomtype.h
   trunk/src/core/screen-private.h
   trunk/src/core/session.h
   trunk/src/core/window-private.h
   trunk/src/core/window-props.h
   trunk/src/core/workspace.h

Modified: trunk/src/core/keybindings.h
==============================================================================
--- trunk/src/core/keybindings.h	(original)
+++ trunk/src/core/keybindings.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,11 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* Metacity Keybindings */
+/**
+ * \file keybindings.h  Grab and ungrab keys, and process the key events
+ *
+ * Performs global X grabs on the keys we need to be told about, like
+ * the one to close a window.  It also deals with incoming key events.
+ */
 
 /* 
  * Copyright (C) 2001 Havoc Pennington

Modified: trunk/src/core/main.c
==============================================================================
--- trunk/src/core/main.c	(original)
+++ trunk/src/core/main.c	Mon Aug 18 10:25:17 2008
@@ -23,14 +23,15 @@
  */
 
 /**
- * \file core/main.c Program startup
- *
+ * \file 
+ * Program startup.
  * Functions which parse the command-line arguments, create the display,
  * kick everything off and then close down Metacity when it's time to go.
  */
 
 /**
- * \mainpage Metacity - a boring window manager for the adult in you
+ * \mainpage
+ * Metacity - a boring window manager for the adult in you
  *
  * Many window managers are like Marshmallow Froot Loops; Metacity
  * is like Cheerios.

Modified: trunk/src/core/metacity-Xatomtype.h
==============================================================================
--- trunk/src/core/metacity-Xatomtype.h	(original)
+++ trunk/src/core/metacity-Xatomtype.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,14 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* $Xorg: Xatomtype.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */
+/**
+ * \file metacity-Xatomtype.h  Types for communicating with X about properties
+ *
+ * This files defines crock C structures for calling XGetWindowProperty and
+ * XChangeProperty.  All fields must be longs as the semantics of property
+ * routines will handle conversion to and from actual 32 bit objects.  If your
+ * compiler doesn't treat &structoflongs the same as &arrayoflongs[0], you
+ * will have some work to do.
+ */
 
 /***********************************************************
 
@@ -52,14 +60,6 @@
 #ifndef _XATOMTYPE_H_
 #define _XATOMTYPE_H_
 
-/*
- * This files defines crock C structures for calling XGetWindowProperty and
- * XChangeProperty.  All fields must be longs as the semantics of property
- * routines will handle conversion to and from actual 32 bit objects.  If your
- * compiler doesn't treat &structoflongs the same as &arrayoflongs[0], you
- * will have some work to do.
- */
-
 #define BOOL long
 #define SIGNEDINT long
 #define UNSIGNEDINT unsigned long

Modified: trunk/src/core/screen-private.h
==============================================================================
--- trunk/src/core/screen-private.h	(original)
+++ trunk/src/core/screen-private.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,13 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* Metacity X screen handler */
+/**
+ * \file screen-private.h  Screens which Metacity manages
+ *
+ * Managing X screens.
+ * This file contains methods on this class which are available to
+ * routines in core but not outside it.  (See screen.h for the routines
+ * which the rest of the world is allowed to use.)
+ */
 
 /* 
  * Copyright (C) 2001 Havoc Pennington

Modified: trunk/src/core/session.h
==============================================================================
--- trunk/src/core/session.h	(original)
+++ trunk/src/core/session.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,13 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* Metacity Session Management */
+/**
+ * \file session.h   Session management
+ *
+ * Maps windows to information about their placing and state on startup.
+ * This is window matching, which we have a policy of leaving in general
+ * to programs such as Devil's Pie, but the session manager specification
+ * requires us to do it here.
+ */
 
 /* 
  * Copyright (C) 2001 Havoc Pennington

Modified: trunk/src/core/window-private.h
==============================================================================
--- trunk/src/core/window-private.h	(original)
+++ trunk/src/core/window-private.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,13 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* Metacity X managed windows */
+/**
+ * \file window-private.h  Windows which Metacity manages
+ *
+ * Managing X windows.
+ * This file contains methods on this class which are available to
+ * routines in core but not outside it.  (See window.h for the routines
+ * which the rest of the world is allowed to use.)
+ */
 
 /* 
  * Copyright (C) 2001 Havoc Pennington

Modified: trunk/src/core/window-props.h
==============================================================================
--- trunk/src/core/window-props.h	(original)
+++ trunk/src/core/window-props.h	Mon Aug 18 10:25:17 2008
@@ -1,7 +1,7 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
 /**
- * \file window-props.c    MetaWindow property handling
+ * \file window-props.h    MetaWindow property handling
  *
  * A system which can inspect sets of properties of given windows
  * and take appropriate action given their values.

Modified: trunk/src/core/workspace.h
==============================================================================
--- trunk/src/core/workspace.h	(original)
+++ trunk/src/core/workspace.h	Mon Aug 18 10:25:17 2008
@@ -1,6 +1,14 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-/* Metacity Workspaces */
+/**
+ * \file workspace.h    Workspaces
+ *
+ * A workspace is a set of windows which all live on the same
+ * screen.  (You may also see the name "desktop" around the place,
+ * which is the EWMH's name for the same thing.)  Only one workspace
+ * of a screen may be active at once; all windows on all other workspaces
+ * are unmapped.
+ */
 
 /* 
  * Copyright (C) 2001 Havoc Pennington



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]