]> Dogcows Code - chaz/openbox/commitdiff
whitespace changes
authorMikael Magnusson <mikachu@comhem.se>
Sat, 20 Mar 2004 15:48:38 +0000 (15:48 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 20 Mar 2004 15:48:38 +0000 (15:48 +0000)
openbox/event.c
openbox/mainloop.c
openbox/openbox.c

index a5d983c3b64ddda26ceb0b70a10a7a01a2ca64a9..a1c7e1f5ee907f3400be3bb268ca9e9782472c69 100644 (file)
@@ -141,10 +141,10 @@ void event_startup(gboolean reconfig)
         const KeyCode num_lock = XKeysymToKeycode(ob_display, XK_Num_Lock);
         const KeyCode scroll_lock = XKeysymToKeycode(ob_display,
                                                      XK_Scroll_Lock);
-         
+
         for (cnt = 0; cnt < size; ++cnt) {
             if (! modmap->modifiermap[cnt]) continue;
-              
+
             if (num_lock == modmap->modifiermap[cnt])
                 NumLockMask = mask_table[cnt / modmap->max_keypermod];
             if (scroll_lock == modmap->modifiermap[cnt])
@@ -495,7 +495,7 @@ static void event_process(const XEvent *ec, gpointer data)
         /* unhandled configure requests must be used to configure the
            window directly */
         XWindowChanges xwc;
-              
+
         xwc.x = e->xconfigurerequest.x;
         xwc.y = e->xconfigurerequest.y;
         xwc.width = e->xconfigurerequest.width;
index 5e053da43795227e26a8ab8567c7c2fffc4c9c9d..75538863527e7afbc9b2ebff62bd5e98724a75a8 100644 (file)
@@ -667,7 +667,7 @@ static void timer_dispatch(ObMainLoop *loop, GTimeVal **wait)
             g_free(curr);
             continue;
         }
-       
+
         /* the queue is sorted, so if this timer shouldn't fire, none are 
            ready */
         if (timecompare(&NEAREST_TIMEOUT(loop), &loop->now) < 0)
index ef3f8ac533f450f427fa808932c9b7ff641b7591..5428ba01e0e5c37219fe62262decfdc4b1392604 100644 (file)
@@ -99,7 +99,7 @@ gint main(gint argc, gchar **argv)
 
     /* initialize the locale */
     if (!setlocale(LC_ALL, ""))
-       g_warning("Couldn't set locale from environment.\n");
+        g_warning("Couldn't set locale from environment.\n");
     bindtextdomain(PACKAGE_NAME, LOCALEDIR);
     bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
     textdomain(PACKAGE_NAME);
@@ -119,7 +119,7 @@ gint main(gint argc, gchar **argv)
 
     ob_display = XOpenDisplay(NULL);
     if (ob_display == NULL)
-       ob_exit_with_error("Failed to open the display.");
+        ob_exit_with_error("Failed to open the display.");
     if (fcntl(ConnectionNumber(ob_display), F_SETFD, 1) == -1)
         ob_exit_with_error("Failed to set display as close-on-exec.");
 
@@ -144,9 +144,9 @@ gint main(gint argc, gchar **argv)
 
     /* check for locale support */
     if (!XSupportsLocale())
-       g_warning("X server does not support locale.");
+        g_warning("X server does not support locale.");
     if (!XSetLocaleModifiers(""))
-       g_warning("Cannot set locale modifiers for the X server.");
+        g_warning("Cannot set locale modifiers for the X server.");
 
     /* set our error handler */
     XSetErrorHandler(xerror_handler);
@@ -312,7 +312,7 @@ gint main(gint argc, gchar **argv)
             gchar **argvp;
             GError *err = NULL;
 
-            /* run other shit */
+            /* run other window manager */
             if (g_shell_parse_argv(restart_path, &argcp, &argvp, &err)) {
                 execvp(argvp[0], argvp);
                 g_strfreev(argvp);
@@ -356,7 +356,7 @@ static void signal_handler(gint signal, gpointer data)
 static void print_version()
 {
     g_print("Openbox %s\n", PACKAGE_VERSION);
-       g_print("Copyright (c) 2003 Ben Jansens, and others\n\n");
+    g_print("Copyright (c) 2003 Ben Jansens, and others\n\n");
     g_print("This program comes with ABSOLUTELY NO WARRANTY.\n");
     g_print("This is free software, and you are welcome to redistribute it\n");
     g_print("under certain conditions. See the file COPYING for details.\n\n");
@@ -378,7 +378,7 @@ static void print_help()
     g_print("  --version           Display the version and exit\n");
     g_print("  --sync              Run in synchronous mode (this is slow and "
             "meant for\n"
-                       "                      debugging X routines)\n");
+            "                      debugging X routines)\n");
     g_print("  --debug             Display debugging output\n");
     g_print("\nPlease report bugs at %s\n\n", PACKAGE_BUGREPORT);
 }
This page took 0.029632 seconds and 4 git commands to generate.