]> Dogcows Code - chaz/openbox/blobdiff - HACKING
a whole lot of changes to the moving/resizing code. it was broken for non-northwest...
[chaz/openbox] / HACKING
diff --git a/HACKING b/HACKING
index 45104201d31c86c516f662e2d4e07e0c7443a2bf..3433ad67f608c15451ae84d9ffbc41b79df94931 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -3,10 +3,7 @@ Woop, a HACKING document for openbox at last!
 dirs:
        kernel - core of the WM
        render - librender, rendering routines for the WM and for apps
-       cwmcc  - client-wm-client communication. netwm/icccm helper routines
-                for the WM and apps
-       obcf   - openbox config format, generic parser for config files
-       plugins - various plugins
+       parser - libparser, for parsing config files
 
 Beware the Client.transient_for. It can be set to a !NULL value of TRAN_GROUP,
 which is not a valid pointer. You must ALWAYS check for TRAN_GROUP before
@@ -25,3 +22,19 @@ translate it into what you see. The Client.frame.area is the actual position
 and size of the entire frame. This is usually the value you want to use, unless
 you are in client.c (probably) and adjusting/using the position or size from
 the client's perspective.
+
+Indentation
+-----------
+For openbox, we aim to have consistent coding style. Some, but surely
+not all, guidelines:
+ * use 4 space indents
+ * tabs should not appear in source files
+ * functions should have the opening and closing braces on their own
+   lines
+ * most other constructs should have braces on the same line as the
+   statement
+ * when in doubt look at the rest of the source
+ * vim users can use "set expandtab tabstop=4 shiftwidth=4
+   softtabstop=4" for some of this
+
+
This page took 0.019972 seconds and 4 git commands to generate.