Commit 0201fcfc authored by Elijah Newren's avatar Elijah Newren Committed by Elijah Newren
Browse files

Stick an emacs comment directive at the beginning of all the code files so

2006-10-01  Elijah Newren  <newren gmail com>

	* src/*.[ch]: Stick an emacs comment directive at the beginning of
	all the code files so that people using emacs will be more likely
	to get coding style correct in their patches.  We still need a
	similar vi directive.  #358866
parent 07e4cacf
2006-10-01 Elijah Newren <newren gmail com>
* src/*.[ch]: Stick an emacs comment directive at the beginning of
all the code files so that people using emacs will be more likely
to get coding style correct in their patches. We still need a
similar vi directive. #358866
2006-10-01 Elijah Newren <newren gmail com> 2006-10-01 Elijah Newren <newren gmail com>
Patch from Carlo Wood to ensure that maximized and minimized Patch from Carlo Wood to ensure that maximized and minimized
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity misc. public entry points */ /* Metacity misc. public entry points */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity misc. public entry points */ /* Metacity misc. public entry points */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Asynchronous X property getting hack */ /* Asynchronous X property getting hack */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Asynchronous X property getting hack */ /* Asynchronous X property getting hack */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity visual bell */ /* Metacity visual bell */
/* /*
......
/* Metacity visual bell */ /* Metacity visual bell */
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2002 Sun Microsystems Inc. * Copyright (C) 2002 Sun Microsystems Inc.
* *
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Simple box operations */ /* Simple box operations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Simple box operations */ /* Simple box operations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2006 Red Hat, Inc. * Copyright (C) 2006 Red Hat, Inc.
* *
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "screen.h" #include "screen.h"
#include "c-window.h" #include "c-window.h"
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2006 Red Hat, Inc. * Copyright (C) 2006 Red Hat, Inc.
* *
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2006 Red Hat, Inc. * Copyright (C) 2006 Red Hat, Inc.
* *
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
typedef struct _MetaCompWindow MetaCompWindow; typedef struct _MetaCompWindow MetaCompWindow;
typedef void (* MetaCompWindowDestroy) (MetaCompWindow *window, typedef void (* MetaCompWindowDestroy) (MetaCompWindow *window,
gpointer closure); gpointer closure);
MetaCompWindow *meta_comp_window_new (MetaScreen *screen, MetaCompWindow *meta_comp_window_new (MetaScreen *screen,
WsDrawable *drawable, WsDrawable *drawable,
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity RGB color stuff */ /* Metacity RGB color stuff */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity RGB color stuff */ /* Metacity RGB color stuff */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity common types shared by core.h and ui.h */ /* Metacity common types shared by core.h and ui.h */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2003, 2004, 2005, 2006 Red Hat, Inc. * Copyright (C) 2003, 2004, 2005, 2006 Red Hat, Inc.
* Copyright (C) 2003 Keith Packard * Copyright (C) 2003 Keith Packard
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity compositing manager */ /* Metacity compositing manager */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity size/position constraints */ /* Metacity size/position constraints */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity size/position constraints */ /* Metacity size/position constraints */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity interface used by GTK+ UI to talk to core */ /* Metacity interface used by GTK+ UI to talk to core */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity interface used by GTK+ UI to talk to core */ /* Metacity interface used by GTK+ UI to talk to core */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window deletion */ /* Metacity window deletion */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X display handler */ /* Metacity X display handler */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X display handler */ /* Metacity X display handler */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Draw a workspace */ /* Draw a workspace */
/* This file should not be modified to depend on other files in /* This file should not be modified to depend on other files in
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Draw a workspace */ /* Draw a workspace */
/* This file should not be modified to depend on other files in /* This file should not be modified to depend on other files in
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Edge resistance for move/resize operations */ /* Edge resistance for move/resize operations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Edge resistance for move/resize operations */ /* Edge resistance for move/resize operations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity animation effects */ /* Metacity animation effects */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity animation effects */ /* Metacity animation effects */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X error handling */ /* Metacity X error handling */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X error handling */ /* Metacity X error handling */
/* /*
...@@ -26,8 +28,8 @@ ...@@ -26,8 +28,8 @@
#include "display.h" #include "display.h"
typedef void (* ErrorHandler) (Display *dpy, typedef void (* ErrorHandler) (Display *dpy,
XErrorEvent *error, XErrorEvent *error,
gpointer data); gpointer data);
void meta_errors_init (void); void meta_errors_init (void);
void meta_errors_register_foreign_display (Display *foreign_dpy, void meta_errors_register_foreign_display (Display *foreign_dpy,
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X event source for main loop */ /* Metacity X event source for main loop */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X event source for main loop */ /* Metacity X event source for main loop */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity fixed tooltip routine */ /* Metacity fixed tooltip routine */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity fixed tooltip routine */ /* Metacity fixed tooltip routine */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X window decorations */ /* Metacity X window decorations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity X window decorations */ /* Metacity X window decorations */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window frame manager widget */ /* Metacity window frame manager widget */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window frame manager widget */ /* Metacity window frame manager widget */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity gradient rendering */ /* Metacity gradient rendering */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity gradient rendering */ /* Metacity gradient rendering */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window group private header */ /* Metacity window group private header */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* MetaGroup property handling */ /* MetaGroup property handling */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* MetaGroup property handling */ /* MetaGroup property handling */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window groups */ /* Metacity window groups */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window groups */ /* Metacity window groups */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window icons */ /* Metacity window icons */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window icons */ /* Metacity window icons */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity Keybindings */ /* Metacity Keybindings */
/* /*
* Copyright (C) 2001 Havoc Pennington * Copyright (C) 2001 Havoc Pennington
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity Keybindings */ /* Metacity Keybindings */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity main() */ /* Metacity main() */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity main */ /* Metacity main */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window menu */ /* Metacity window menu */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window menu */ /* Metacity window menu */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity hacked-up GtkAccelLabel */ /* Metacity hacked-up GtkAccelLabel */
/* Copyright (C) 2002 Red Hat, Inc. */ /* Copyright (C) 2002 Red Hat, Inc. */
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity hacked-up GtkAccelLabel */ /* Metacity hacked-up GtkAccelLabel */
/* Copyright (C) 2002 Red Hat, Inc. */ /* Copyright (C) 2002 Red Hat, Inc. */
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* $Xorg: Xatomtype.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */ /* $Xorg: Xatomtype.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */
/*********************************************************** /***********************************************************
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity dialog process */ /* Metacity dialog process */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window placement */ /* Metacity window placement */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity window placement */ /* Metacity window placement */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity preferences */ /* Metacity preferences */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity preferences */ /* Metacity preferences */
/* /*
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Metacity theme preview widget */ /* Metacity theme preview widget */