summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/api.c2
-rw-r--r--src/api.h2
-rw-r--r--src/async-getprop.c2
-rw-r--r--src/async-getprop.h2
-rw-r--r--src/bell.c2
-rw-r--r--src/bell.h1
-rw-r--r--src/boxes.c2
-rw-r--r--src/boxes.h2
-rw-r--r--src/c-screen.c2
-rw-r--r--src/c-screen.h2
-rw-r--r--src/c-window.c2
-rw-r--r--src/c-window.h3
-rw-r--r--src/colors.c2
-rw-r--r--src/colors.h2
-rw-r--r--src/common.h2
-rw-r--r--src/compositor.c2
-rw-r--r--src/compositor.h2
-rw-r--r--src/constraints.c2
-rw-r--r--src/constraints.h2
-rw-r--r--src/core.c2
-rw-r--r--src/core.h2
-rw-r--r--src/delete.c2
-rw-r--r--src/display.c2
-rw-r--r--src/display.h2
-rw-r--r--src/draw-workspace.c2
-rw-r--r--src/draw-workspace.h2
-rw-r--r--src/edge-resistance.c2
-rw-r--r--src/edge-resistance.h2
-rw-r--r--src/effects.c2
-rw-r--r--src/effects.h2
-rw-r--r--src/errors.c2
-rw-r--r--src/errors.h6
-rw-r--r--src/eventqueue.c2
-rw-r--r--src/eventqueue.h2
-rw-r--r--src/fixedtip.c2
-rw-r--r--src/fixedtip.h2
-rw-r--r--src/frame.c2
-rw-r--r--src/frame.h2
-rw-r--r--src/frames.c2
-rw-r--r--src/frames.h2
-rw-r--r--src/gradient.c2
-rw-r--r--src/gradient.h2
-rw-r--r--src/group-private.h2
-rw-r--r--src/group-props.c2
-rw-r--r--src/group-props.h2
-rw-r--r--src/group.c2
-rw-r--r--src/group.h2
-rw-r--r--src/iconcache.c2
-rw-r--r--src/iconcache.h2
-rw-r--r--src/keybindings.c2
-rw-r--r--src/keybindings.h2
-rw-r--r--src/main.c2
-rw-r--r--src/main.h2
-rw-r--r--src/menu.c2
-rw-r--r--src/menu.h2
-rw-r--r--src/metaaccellabel.c2
-rw-r--r--src/metaaccellabel.h2
-rw-r--r--src/metacity-Xatomtype.h2
-rw-r--r--src/metacity-dialog.c2
-rw-r--r--src/place.c2
-rw-r--r--src/place.h2
-rw-r--r--src/prefs.c2
-rw-r--r--src/prefs.h2
-rw-r--r--src/preview-widget.c2
-rw-r--r--src/preview-widget.h2
-rw-r--r--src/resizepopup.c2
-rw-r--r--src/resizepopup.h2
-rw-r--r--src/screen.c2
-rw-r--r--src/screen.h2
-rw-r--r--src/session.c2
-rw-r--r--src/session.h2
-rw-r--r--src/spring-model.c2
-rw-r--r--src/spring-model.h2
-rw-r--r--src/stack.c2
-rw-r--r--src/stack.h2
-rw-r--r--src/tabpopup.c2
-rw-r--r--src/tabpopup.h2
-rw-r--r--src/testasyncgetprop.c2
-rw-r--r--src/testboxes.c2
-rw-r--r--src/testgradient.c2
-rw-r--r--src/theme-parser.c2
-rw-r--r--src/theme-parser.h2
-rw-r--r--src/theme-viewer.c2
-rw-r--r--src/theme.c2
-rw-r--r--src/theme.h2
-rw-r--r--src/themewidget.c2
-rw-r--r--src/themewidget.h2
-rw-r--r--src/ui.c2
-rw-r--r--src/ui.h2
-rw-r--r--src/util.c2
-rw-r--r--src/util.h2
-rw-r--r--src/window-props.c2
-rw-r--r--src/window-props.h2
-rw-r--r--src/window.c2
-rw-r--r--src/window.h2
-rw-r--r--src/workspace.c2
-rw-r--r--src/workspace.h2
-rw-r--r--src/xprops.c2
-rw-r--r--src/xprops.h2
100 files changed, 206 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 676874c..8d4c9e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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>
+
Patch from Carlo Wood to ensure that maximized and minimized
properties are maintained across restarts. #358042.
diff --git a/src/api.c b/src/api.c
index c6e5a74..5ce1461 100644
--- a/src/api.c
+++ b/src/api.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity misc. public entry points */
/*
diff --git a/src/api.h b/src/api.h
index 526af6b..6ad938b 100644
--- a/src/api.h
+++ b/src/api.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity misc. public entry points */
/*
diff --git a/src/async-getprop.c b/src/async-getprop.c
index 60d6b3a..fb5484c 100644
--- a/src/async-getprop.c
+++ b/src/async-getprop.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Asynchronous X property getting hack */
/*
diff --git a/src/async-getprop.h b/src/async-getprop.h
index 15ac1fe..e11ca13 100644
--- a/src/async-getprop.h
+++ b/src/async-getprop.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Asynchronous X property getting hack */
/*
diff --git a/src/bell.c b/src/bell.c
index b73a752..6e1f701 100644
--- a/src/bell.c
+++ b/src/bell.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity visual bell */
/*
diff --git a/src/bell.h b/src/bell.h
index ff29803..7c1e3af 100644
--- a/src/bell.h
+++ b/src/bell.h
@@ -1,5 +1,6 @@
/* Metacity visual bell */
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2002 Sun Microsystems Inc.
*
diff --git a/src/boxes.c b/src/boxes.c
index d01d285..f40a085 100644
--- a/src/boxes.c
+++ b/src/boxes.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Simple box operations */
/*
diff --git a/src/boxes.h b/src/boxes.h
index 52c3669..5c9552d 100644
--- a/src/boxes.h
+++ b/src/boxes.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Simple box operations */
/*
diff --git a/src/c-screen.c b/src/c-screen.c
index 725213b..237c51e 100644
--- a/src/c-screen.c
+++ b/src/c-screen.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/*
* Copyright (C) 2006 Red Hat, Inc.
*
diff --git a/src/c-screen.h b/src/c-screen.h
index 9cca1ad..7d6c216 100644
--- a/src/c-screen.h
+++ b/src/c-screen.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
#include "screen.h"
#include "c-window.h"
diff --git a/src/c-window.c b/src/c-window.c
index 76c1ad9..89f7d23 100644
--- a/src/c-window.c
+++ b/src/c-window.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/*
* Copyright (C) 2006 Red Hat, Inc.
*
diff --git a/src/c-window.h b/src/c-window.h
index 571497b..c7a574f 100644
--- a/src/c-window.h
+++ b/src/c-window.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2006 Red Hat, Inc.
*
@@ -27,7 +28,7 @@
typedef struct _MetaCompWindow MetaCompWindow;
typedef void (* MetaCompWindowDestroy) (MetaCompWindow *window,
- gpointer closure);
+ gpointer closure);
MetaCompWindow *meta_comp_window_new (MetaScreen *screen,
WsDrawable *drawable,
diff --git a/src/colors.c b/src/colors.c
index e0b1d69..13340d5 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity RGB color stuff */
/*
diff --git a/src/colors.h b/src/colors.h
index 03849ad..41bde10 100644
--- a/src/colors.h
+++ b/src/colors.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity RGB color stuff */
/*
diff --git a/src/common.h b/src/common.h
index f075c61..e5602d8 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity common types shared by core.h and ui.h */
/*
diff --git a/src/compositor.c b/src/compositor.c
index 613c703..05b4e1f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/*
* Copyright (C) 2003, 2004, 2005, 2006 Red Hat, Inc.
* Copyright (C) 2003 Keith Packard
diff --git a/src/compositor.h b/src/compositor.h
index 7358d92..7340bcc 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity compositing manager */
/*
diff --git a/src/constraints.c b/src/constraints.c
index 4c2fbbc..96bdf49 100644
--- a/src/constraints.c
+++ b/src/constraints.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity size/position constraints */
/*
diff --git a/src/constraints.h b/src/constraints.h
index 031b950..8ce332e 100644
--- a/src/constraints.h
+++ b/src/constraints.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity size/position constraints */
/*
diff --git a/src/core.c b/src/core.c
index 8fc0330..32ce973 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity interface used by GTK+ UI to talk to core */
/*
diff --git a/src/core.h b/src/core.h
index d1450a3..6d6da14 100644
--- a/src/core.h
+++ b/src/core.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity interface used by GTK+ UI to talk to core */
/*
diff --git a/src/delete.c b/src/delete.c
index 9462db2..30941ae 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window deletion */
/*
diff --git a/src/display.c b/src/display.c
index fd6ebcb..cc266d7 100644
--- a/src/display.c
+++ b/src/display.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X display handler */
/*
diff --git a/src/display.h b/src/display.h
index 528e232..8973159 100644
--- a/src/display.h
+++ b/src/display.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X display handler */
/*
diff --git a/src/draw-workspace.c b/src/draw-workspace.c
index a55c10f..c5998a1 100644
--- a/src/draw-workspace.c
+++ b/src/draw-workspace.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Draw a workspace */
/* This file should not be modified to depend on other files in
diff --git a/src/draw-workspace.h b/src/draw-workspace.h
index 19b203d..de60550 100644
--- a/src/draw-workspace.h
+++ b/src/draw-workspace.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Draw a workspace */
/* This file should not be modified to depend on other files in
diff --git a/src/edge-resistance.c b/src/edge-resistance.c
index a006123..25b3ec7 100644
--- a/src/edge-resistance.c
+++ b/src/edge-resistance.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Edge resistance for move/resize operations */
/*
diff --git a/src/edge-resistance.h b/src/edge-resistance.h
index f327c83..6d0dbe0 100644
--- a/src/edge-resistance.h
+++ b/src/edge-resistance.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Edge resistance for move/resize operations */
/*
diff --git a/src/effects.c b/src/effects.c
index f2ef7d1..45032d9 100644
--- a/src/effects.c
+++ b/src/effects.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity animation effects */
/*
diff --git a/src/effects.h b/src/effects.h
index 23a9c2d..6fc8bf9 100644
--- a/src/effects.h
+++ b/src/effects.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity animation effects */
/*
diff --git a/src/errors.c b/src/errors.c
index f7e0bf2..854ef46 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X error handling */
/*
diff --git a/src/errors.h b/src/errors.h
index 94cf603..c18eaa7 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X error handling */
/*
@@ -26,8 +28,8 @@
#include "display.h"
typedef void (* ErrorHandler) (Display *dpy,
- XErrorEvent *error,
- gpointer data);
+ XErrorEvent *error,
+ gpointer data);
void meta_errors_init (void);
void meta_errors_register_foreign_display (Display *foreign_dpy,
diff --git a/src/eventqueue.c b/src/eventqueue.c
index 1d2576f..4ce3e46 100644
--- a/src/eventqueue.c
+++ b/src/eventqueue.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X event source for main loop */
/*
diff --git a/src/eventqueue.h b/src/eventqueue.h
index 0e256fc..cd115bd 100644
--- a/src/eventqueue.h
+++ b/src/eventqueue.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X event source for main loop */
/*
diff --git a/src/fixedtip.c b/src/fixedtip.c
index 3131608..8ea3f3f 100644
--- a/src/fixedtip.c
+++ b/src/fixedtip.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity fixed tooltip routine */
/*
diff --git a/src/fixedtip.h b/src/fixedtip.h
index 96f54d5..3b3e6ff 100644
--- a/src/fixedtip.h
+++ b/src/fixedtip.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity fixed tooltip routine */
/*
diff --git a/src/frame.c b/src/frame.c
index 445f89c..467e36b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X window decorations */
/*
diff --git a/src/frame.h b/src/frame.h
index 02de0ab..859e25a 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X window decorations */
/*
diff --git a/src/frames.c b/src/frames.c
index 12b196c..c5827dc 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window frame manager widget */
/*
diff --git a/src/frames.h b/src/frames.h
index d7db935..1d674ea 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window frame manager widget */
/*
diff --git a/src/gradient.c b/src/gradient.c
index f61d955..6790623 100644
--- a/src/gradient.c
+++ b/src/gradient.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity gradient rendering */
/*
diff --git a/src/gradient.h b/src/gradient.h
index d441b16..58d6d40 100644
--- a/src/gradient.h
+++ b/src/gradient.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity gradient rendering */
/*
diff --git a/src/group-private.h b/src/group-private.h
index 1ec7a24..25b05c7 100644
--- a/src/group-private.h
+++ b/src/group-private.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window group private header */
/*
diff --git a/src/group-props.c b/src/group-props.c
index ae3a291..9d5af05 100644
--- a/src/group-props.c
+++ b/src/group-props.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* MetaGroup property handling */
/*
diff --git a/src/group-props.h b/src/group-props.h
index 727c636..ffde090 100644
--- a/src/group-props.h
+++ b/src/group-props.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* MetaGroup property handling */
/*
diff --git a/src/group.c b/src/group.c
index a2f7981..1e721a9 100644
--- a/src/group.c
+++ b/src/group.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window groups */
/*
diff --git a/src/group.h b/src/group.h
index 3f1425b..8413382 100644
--- a/src/group.h
+++ b/src/group.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window groups */
/*
diff --git a/src/iconcache.c b/src/iconcache.c
index eca5db0..5c8ac19 100644
--- a/src/iconcache.c
+++ b/src/iconcache.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window icons */
/*
diff --git a/src/iconcache.h b/src/iconcache.h
index eadf521..1cb73a6 100644
--- a/src/iconcache.h
+++ b/src/iconcache.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window icons */
/*
diff --git a/src/keybindings.c b/src/keybindings.c
index 2f01d20..102af63 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Keybindings */
/*
* Copyright (C) 2001 Havoc Pennington
diff --git a/src/keybindings.h b/src/keybindings.h
index 70848f9..0f5e4d5 100644
--- a/src/keybindings.h
+++ b/src/keybindings.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Keybindings */
/*
diff --git a/src/main.c b/src/main.c
index 3c40527..49c30b8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity main() */
/*
diff --git a/src/main.h b/src/main.h
index cda080f..1eada67 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity main */
/*
diff --git a/src/menu.c b/src/menu.c
index 3f6a0ad..e02dd21 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window menu */
/*
diff --git a/src/menu.h b/src/menu.h
index 39902fd..6bb544a 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window menu */
/*
diff --git a/src/metaaccellabel.c b/src/metaaccellabel.c
index 0d197c5..0c2a76d 100644
--- a/src/metaaccellabel.c
+++ b/src/metaaccellabel.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity hacked-up GtkAccelLabel */
/* Copyright (C) 2002 Red Hat, Inc. */
/* GTK - The GIMP Toolkit
diff --git a/src/metaaccellabel.h b/src/metaaccellabel.h
index abaf7e6..2282327 100644
--- a/src/metaaccellabel.h
+++ b/src/metaaccellabel.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity hacked-up GtkAccelLabel */
/* Copyright (C) 2002 Red Hat, Inc. */
/* GTK - The GIMP Toolkit
diff --git a/src/metacity-Xatomtype.h b/src/metacity-Xatomtype.h
index 7ab7e5a..ff33cbe 100644
--- a/src/metacity-Xatomtype.h
+++ b/src/metacity-Xatomtype.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* $Xorg: Xatomtype.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */
/***********************************************************
diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c
index 28519be..7e73325 100644
--- a/src/metacity-dialog.c
+++ b/src/metacity-dialog.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity dialog process */
/*
diff --git a/src/place.c b/src/place.c
index 1b86240..bf88779 100644
--- a/src/place.c
+++ b/src/place.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window placement */
/*
diff --git a/src/place.h b/src/place.h
index 6e86ebb..2948fe7 100644
--- a/src/place.h
+++ b/src/place.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity window placement */
/*
diff --git a/src/prefs.c b/src/prefs.c
index 86fc9a6..c500491 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity preferences */
/*
diff --git a/src/prefs.h b/src/prefs.h
index a568ed7..f1e81a8 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity preferences */
/*
diff --git a/src/preview-widget.c b/src/preview-widget.c
index 8038c5f..5aa0fa5 100644
--- a/src/preview-widget.c
+++ b/src/preview-widget.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme preview widget */
/*
diff --git a/src/preview-widget.h b/src/preview-widget.h
index f6ae48a..bfa964b 100644
--- a/src/preview-widget.h
+++ b/src/preview-widget.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme preview widget */
/*
diff --git a/src/resizepopup.c b/src/resizepopup.c
index b2e9552..f68e3c3 100644
--- a/src/resizepopup.c
+++ b/src/resizepopup.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity resizing-terminal-window feedback */
/*
diff --git a/src/resizepopup.h b/src/resizepopup.h
index a720679..a861ff3 100644
--- a/src/resizepopup.h
+++ b/src/resizepopup.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity resizing-terminal-window feedback */
/*
diff --git a/src/screen.c b/src/screen.c
index 12575a8..dbf3cf9 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X screen handler */
/*
diff --git a/src/screen.h b/src/screen.h
index 8f7fb43..009e22f 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X screen handler */
/*
diff --git a/src/session.c b/src/session.c
index cc625e2..1031b24 100644
--- a/src/session.c
+++ b/src/session.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Session Management */
/*
diff --git a/src/session.h b/src/session.h
index 1fa09c8..cc88fd5 100644
--- a/src/session.h
+++ b/src/session.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Session Management */
/*
diff --git a/src/spring-model.c b/src/spring-model.c
index a1dd446..60e2ad8 100644
--- a/src/spring-model.c
+++ b/src/spring-model.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
#include "spring-model.h"
#include <math.h>
diff --git a/src/spring-model.h b/src/spring-model.h
index b15e61f..83ee1da 100644
--- a/src/spring-model.h
+++ b/src/spring-model.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
#include "window.h"
typedef struct XYPair Point;
diff --git a/src/stack.c b/src/stack.c
index 6202966..de3402e 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Window Stack */
/*
diff --git a/src/stack.h b/src/stack.h
index 831a19b..5760de2 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Window Stack */
/*
diff --git a/src/tabpopup.c b/src/tabpopup.c
index 2ef1f05..af24764 100644
--- a/src/tabpopup.c
+++ b/src/tabpopup.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity popup window thing showing windows you can tab to */
/*
diff --git a/src/tabpopup.h b/src/tabpopup.h
index 6695c9d..c210a19 100644
--- a/src/tabpopup.h
+++ b/src/tabpopup.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity tab popup window */
/*
diff --git a/src/testasyncgetprop.c b/src/testasyncgetprop.c
index 702c1f3..267f16a 100644
--- a/src/testasyncgetprop.c
+++ b/src/testasyncgetprop.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/*
* Copyright (C) 2002 Havoc Pennington
*
diff --git a/src/testboxes.c b/src/testboxes.c
index 7974747..9e958b7 100644
--- a/src/testboxes.c
+++ b/src/testboxes.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity box operation testing program */
/*
diff --git a/src/testgradient.c b/src/testgradient.c
index ae7c125..6ecc4b8 100644
--- a/src/testgradient.c
+++ b/src/testgradient.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity gradient test program */
/*
diff --git a/src/theme-parser.c b/src/theme-parser.c
index 7e7d47c..1013c2b 100644
--- a/src/theme-parser.c
+++ b/src/theme-parser.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme parsing */
/*
diff --git a/src/theme-parser.h b/src/theme-parser.h
index 2ba198e..035d700 100644
--- a/src/theme-parser.h
+++ b/src/theme-parser.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme parsing */
/*
diff --git a/src/theme-viewer.c b/src/theme-viewer.c
index 9d6d7ab..d4a1106 100644
--- a/src/theme-viewer.c
+++ b/src/theme-viewer.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme viewer and test app main() */
/*
diff --git a/src/theme.c b/src/theme.c
index b047bf4..0bdd062 100644
--- a/src/theme.c
+++ b/src/theme.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Theme Rendering */
/*
diff --git a/src/theme.h b/src/theme.h
index cda019d..f817dce 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Theme Rendering */
/*
diff --git a/src/themewidget.c b/src/themewidget.c
index b3092a5..1cbcb8e 100644
--- a/src/themewidget.c
+++ b/src/themewidget.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme widget (displays themed draw operations) */
/*
diff --git a/src/themewidget.h b/src/themewidget.h
index 55161fb..5f044ce 100644
--- a/src/themewidget.h
+++ b/src/themewidget.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity theme widget (displays themed draw operations) */
/*
diff --git a/src/ui.c b/src/ui.c
index 045767d..4a16a58 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity interface for talking to GTK+ UI module */
/*
diff --git a/src/ui.h b/src/ui.h
index 52b4bdb..bb8122f 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity interface for talking to GTK+ UI module */
/*
diff --git a/src/util.c b/src/util.c
index 9280df1..9fdecd6 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity utilities */
/*
diff --git a/src/util.h b/src/util.h
index f51cb88..d88c775 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity utilities */
/*
diff --git a/src/window-props.c b/src/window-props.c
index 49df9ae..2506e62 100644
--- a/src/window-props.c
+++ b/src/window-props.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* MetaWindow property handling */
/*
diff --git a/src/window-props.h b/src/window-props.h
index 232721d..815955d 100644
--- a/src/window-props.h
+++ b/src/window-props.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* MetaWindow property handling */
/*
diff --git a/src/window.c b/src/window.c
index acccfe6..815e114 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X managed windows */
/*
diff --git a/src/window.h b/src/window.h
index 2b9dd20..ff4b944 100644
--- a/src/window.h
+++ b/src/window.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X managed windows */
/*
diff --git a/src/workspace.c b/src/workspace.c
index 89af6ad..8ea5e8e 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Workspaces */
/*
diff --git a/src/workspace.h b/src/workspace.h
index 1c1ee91..61aa8e7 100644
--- a/src/workspace.h
+++ b/src/workspace.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity Workspaces */
/*
diff --git a/src/xprops.c b/src/xprops.c
index 7a91585..7a42829 100644
--- a/src/xprops.c
+++ b/src/xprops.c
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X property convenience routines */
/*
diff --git a/src/xprops.h b/src/xprops.h
index 646f087..e5cb97b 100644
--- a/src/xprops.h
+++ b/src/xprops.h
@@ -1,3 +1,5 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
/* Metacity X property convenience routines */
/*