add copyright headers, adjust --version output to include copyright, and --help output to not include version output.

This commit is contained in:
Dana Jansens 2003-09-17 07:32:52 +00:00
parent 5a24f4c1c6
commit c4e4760c41
103 changed files with 1886 additions and 23 deletions

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
gettext.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
/* Convenience header for conditional use of GNU <libintl.h>. /* Convenience header for conditional use of GNU <libintl.h>.
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
action.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "client.h" #include "client.h"
#include "focus.h" #include "focus.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
action.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __action_h #ifndef __action_h
#define __action_h #define __action_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "client.h" #include "client.h"
#include "debug.h" #include "debug.h"
#include "startupnotify.h" #include "startupnotify.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __client_h #ifndef __client_h
#define __client_h #define __client_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client_list_menu.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include "menu.h" #include "menu.h"
#include "menuframe.h" #include "menuframe.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client_list_menu.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__client_list_menu_h #ifndef ob__client_list_menu_h
#define ob__client_list_menu_h #define ob__client_list_menu_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client_menu.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "menu.h" #include "menu.h"
#include "menuframe.h" #include "menuframe.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
client_menu.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__client_menu_h #ifndef ob__client_menu_h
#define ob__client_menu_h #define ob__client_menu_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
config.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "config.h" #include "config.h"
#include "keyboard.h" #include "keyboard.h"
#include "mouse.h" #include "mouse.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
config.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __config_h #ifndef __config_h
#define __config_h #define __config_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
debug.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <glib.h> #include <glib.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
debug.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __ob__debug_h #ifndef __ob__debug_h
#define __ob__debug_h #define __ob__debug_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
dock.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "dock.h" #include "dock.h"
#include "mainloop.h" #include "mainloop.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
dock.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __dock_h #ifndef __dock_h
#define __dock_h #define __dock_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
event.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "openbox.h" #include "openbox.h"
#include "dock.h" #include "dock.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
event.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __events_h #ifndef __events_h
#define __events_h #define __events_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
extensions.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include "geom.h" #include "geom.h"
#include "extensions.h" #include "extensions.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
extensions.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __extensions_h #ifndef __extensions_h
#define __extensions_h #define __extensions_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
focus.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "event.h" #include "event.h"
#include "openbox.h" #include "openbox.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
focus.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __focus_h #ifndef __focus_h
#define __focus_h #define __focus_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
frame.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "frame.h" #include "frame.h"
#include "client.h" #include "client.h"
#include "openbox.h" #include "openbox.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
frame.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __frame_h #ifndef __frame_h
#define __frame_h #define __frame_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
framerender.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "frame.h" #include "frame.h"
#include "openbox.h" #include "openbox.h"
#include "screen.h" #include "screen.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
framerender.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __framerender_h #ifndef __framerender_h
#define __framerender_h #define __framerender_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
geom.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __geom_h #ifndef __geom_h
#define __geom_h #define __geom_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
grab.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "grab.h" #include "grab.h"
#include "openbox.h" #include "openbox.h"
#include "event.h" #include "event.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
grab.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __grab_h #ifndef __grab_h
#define __grab_h #define __grab_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
group.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "group.h" #include "group.h"
#include "client.h" #include "client.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
group.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __group_h #ifndef __group_h
#define __group_h #define __group_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
keyboard.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "mainloop.h" #include "mainloop.h"
#include "focus.h" #include "focus.h"
#include "screen.h" #include "screen.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
keyboard.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__keybaord_h #ifndef ob__keybaord_h
#define ob__keybaord_h #define ob__keybaord_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
keytree.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "keyboard.h" #include "keyboard.h"
#include "translate.h" #include "translate.h"
#include <glib.h> #include <glib.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
keytree.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __plugin_keyboard_tree_h #ifndef __plugin_keyboard_tree_h
#define __plugin_keyboard_tree_h #define __plugin_keyboard_tree_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mainloop.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "mainloop.h" #include "mainloop.h"
#include <stdio.h> #include <stdio.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mainloop.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __ob__mainloop_h #ifndef __ob__mainloop_h
#define __ob__mainloop_h #define __ob__mainloop_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
menu.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "menu.h" #include "menu.h"
#include "openbox.h" #include "openbox.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
menu.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __menu_h #ifndef __menu_h
#define __menu_h #define __menu_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
menuframe.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "menuframe.h" #include "menuframe.h"
#include "client.h" #include "client.h"
#include "menu.h" #include "menu.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
menuframe.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__menuframe_h #ifndef ob__menuframe_h
#define ob__menuframe_h #define ob__menuframe_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
misc.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __ob__misc_h #ifndef __ob__misc_h
#define __ob__misc_h #define __ob__misc_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mouse.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include "config.h" #include "config.h"
#include "xerror.h" #include "xerror.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mouse.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__mouse_h #ifndef ob__mouse_h
#define ob__mouse_h #define ob__mouse_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
moveresize.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "grab.h" #include "grab.h"
#include "framerender.h" #include "framerender.h"
#include "screen.h" #include "screen.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
moveresize.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __moveresize_h #ifndef __moveresize_h
#define __moveresize_h #define __moveresize_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mwm.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __ob__mwm_h #ifndef __ob__mwm_h
#define __ob__mwm_h #define __ob__mwm_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
openbox.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "openbox.h" #include "openbox.h"
#include "session.h" #include "session.h"
@ -318,7 +336,8 @@ static void signal_handler(int signal, gpointer data)
static void print_version() static void print_version()
{ {
g_print("Openbox %s\n\n", PACKAGE_VERSION); g_print("Openbox %s\n", PACKAGE_VERSION);
g_print("Copyright (c) 2003 Ben Jansens, and others\n\n");
g_print("This program comes with ABSOLUTELY NO WARRANTY.\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("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"); g_print("under certain conditions. See the file COPYING for details.\n\n");
@ -326,23 +345,23 @@ static void print_version()
static void print_help() static void print_help()
{ {
print_version();
g_print("Syntax: openbox [options]\n\n"); g_print("Syntax: openbox [options]\n\n");
g_print("Options:\n\n"); g_print("Options:\n\n");
#ifdef USE_SM #ifdef USE_SM
g_print(" --sm-disable Disable connection to session manager\n"); g_print(" --sm-disable Disable connection to session manager\n");
g_print(" --sm-client-id ID Specify session management ID\n"); g_print(" --sm-client-id ID Specify session management ID\n");
g_print(" --sm-save-file FILE Specify file to load a saved session\n" g_print(" --sm-save-file FILE Specify file to load a saved session"
" from\n"); "from\n");
#endif #endif
g_print(" --replace Replace the currently running window " g_print(" --replace Replace the currently running window "
"manager\n"); "manager\n");
g_print(" --help Display this help and exit\n"); g_print(" --help Display this help and exit\n");
g_print(" --version Display the version and exit\n"); g_print(" --version Display the version and exit\n");
g_print(" --sync Run in synchronous mode (this is slow and\n" g_print(" --sync Run in synchronous mode (this is slow and "
" meant for debugging X routines)\n"); "meant for\n"
" debugging X routines)\n");
g_print(" --debug Display debugging output\n"); g_print(" --debug Display debugging output\n");
g_print("\nPlease report bugs at %s\n", PACKAGE_BUGREPORT); g_print("\nPlease report bugs at %s\n\n", PACKAGE_BUGREPORT);
} }
static void parse_args(int argc, char **argv) static void parse_args(int argc, char **argv)

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
openbox.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __openbox_h #ifndef __openbox_h
#define __openbox_h #define __openbox_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
place.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "client.h" #include "client.h"
#include "group.h" #include "group.h"
#include "screen.h" #include "screen.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
place.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__place_h #ifndef ob__place_h
#define ob__place_h #define ob__place_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
popup.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "popup.h" #include "popup.h"
#include "openbox.h" #include "openbox.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
popup.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __popup_h #ifndef __popup_h
#define __popup_h #define __popup_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
prop.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "prop.h" #include "prop.h"
#include "openbox.h" #include "openbox.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
prop.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __atoms_h #ifndef __atoms_h
#define __atoms_h #define __atoms_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
resist.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "client.h" #include "client.h"
#include "frame.h" #include "frame.h"
#include "stacking.h" #include "stacking.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
resist.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__resist_h #ifndef ob__resist_h
#define ob__resist_h #define ob__resist_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
screen.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "debug.h" #include "debug.h"
#include "openbox.h" #include "openbox.h"
#include "dock.h" #include "dock.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
screen.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __screen_h #ifndef __screen_h
#define __screen_h #define __screen_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
session.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
/* This session code is largely inspired by metacity code. */ /* This session code is largely inspired by metacity code. */
#ifndef USE_SM #ifndef USE_SM

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
session.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __ob__session_h #ifndef __ob__session_h
#define __ob__session_h #define __ob__session_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
stacking.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include "prop.h" #include "prop.h"
#include "screen.h" #include "screen.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
stacking.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __stacking_h #ifndef __stacking_h
#define __stacking_h #define __stacking_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
startupnotify.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "startupnotify.h" #include "startupnotify.h"
#ifndef USE_LIBSN #ifndef USE_LIBSN

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
startupnotify.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__startupnotify_h #ifndef ob__startupnotify_h
#define ob__startupnotify_h #define ob__startupnotify_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
translate.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include "mouse.h" #include "mouse.h"
#include <glib.h> #include <glib.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
translate.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef ob__translate_h #ifndef ob__translate_h
#define ob__translate_h #define ob__translate_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
window.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "window.h" #include "window.h"
#include "menuframe.h" #include "menuframe.h"
#include "config.h" #include "config.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
window.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __window_h #ifndef __window_h
#define __window_h #define __window_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
xerror.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "openbox.h" #include "openbox.h"
#include <glib.h> #include <glib.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
xerror.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __xerror_h #ifndef __xerror_h
#define __xerror_h #define __xerror_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
parse.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "parse.h" #include "parse.h"
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
parse.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __parse_h #ifndef __parse_h
#define __parse_h #define __parse_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
color.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "render.h" #include "render.h"
#include "color.h" #include "color.h"
#include "instance.h" #include "instance.h"

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
color.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __color_h #ifndef __color_h
#define __color_h #define __color_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
font.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "font.h" #include "font.h"
#include "color.h" #include "color.h"
#include "mask.h" #include "mask.h"

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
font.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __font_h #ifndef __font_h
#define __font_h #define __font_h
#include "render.h" #include "render.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
geom.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __geom_h #ifndef __geom_h
#define __geom_h #define __geom_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
gradient.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "render.h" #include "render.h"
#include "gradient.h" #include "gradient.h"
#include "color.h" #include "color.h"

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
gradient.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __gradient_h #ifndef __gradient_h
#define __gradient_h #define __gradient_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
icon.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
/* GIMP RGBA C-Source image dump (icon.h) */ /* GIMP RGBA C-Source image dump (icon.h) */
#define OB_DEFAULT_ICON_WIDTH (48) #define OB_DEFAULT_ICON_WIDTH (48)

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
image.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "geom.h" #include "geom.h"
#include "image.h" #include "image.h"
#include "color.h" #include "color.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
image.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __image_h #ifndef __image_h
#define __image_h #define __image_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
instance.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "render.h" #include "render.h"
#include "instance.h" #include "instance.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
instance.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __render_instance_h #ifndef __render_instance_h
#define __render_instance_h #define __render_instance_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mask.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "render.h" #include "render.h"
#include "color.h" #include "color.h"
#include "mask.h" #include "mask.h"

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
mask.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __mask_h #ifndef __mask_h
#define __mask_h #define __mask_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
render.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
render.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __render_h #ifndef __render_h
#define __render_h #define __render_h

View file

@ -1,3 +1,22 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
test.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
@ -22,7 +41,7 @@ Window ob_root;
int main() int main()
{ {
Window win; Window win;
RrInstance *inst; RrInstance *inst;
RrAppearance *look; RrAppearance *look;
Window root; Window root;
@ -35,22 +54,22 @@ int main()
ob_root = RootWindow(ob_display, ob_screen); ob_root = RootWindow(ob_display, ob_screen);
win = win =
XCreateWindow(ob_display, RootWindow(ob_display, 0), XCreateWindow(ob_display, RootWindow(ob_display, 0),
10, 10, w, h, 10, 10, 10, w, h, 10,
CopyFromParent, /* depth */ CopyFromParent, /* depth */
CopyFromParent, /* class */ CopyFromParent, /* class */
CopyFromParent, /* visual */ CopyFromParent, /* visual */
0, /* valuemask */ 0, /* valuemask */
0); /* attributes */ 0); /* attributes */
XMapWindow(ob_display, win); XMapWindow(ob_display, win);
XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask); XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask);
root = RootWindow (ob_display, DefaultScreen (ob_display)); root = RootWindow (ob_display, DefaultScreen (ob_display));
inst = RrInstanceNew(ob_display, ob_screen); inst = RrInstanceNew(ob_display, ob_screen);
look = RrAppearanceNew(inst, 0); look = RrAppearanceNew(inst, 0);
look->surface.grad = RR_SURFACE_PYRAMID; look->surface.grad = RR_SURFACE_PYRAMID;
look->surface.secondary = RrColorParse(inst, "Yellow"); look->surface.secondary = RrColorParse(inst, "Yellow");
look->surface.primary = RrColorParse(inst, "Blue"); look->surface.primary = RrColorParse(inst, "Blue");
look->surface.interlaced = FALSE; look->surface.interlaced = FALSE;
if (ob_display == NULL) { if (ob_display == NULL) {
fprintf(stderr, "couldn't connect to X server :0\n"); fprintf(stderr, "couldn't connect to X server :0\n");
return 0; return 0;
@ -61,18 +80,18 @@ int main()
XNextEvent(ob_display, &report); XNextEvent(ob_display, &report);
switch (report.type) { switch (report.type) {
case Expose: case Expose:
break; break;
case ConfigureNotify: case ConfigureNotify:
RrPaint(look, win, RrPaint(look, win,
report.xconfigure.width, report.xconfigure.width,
report.xconfigure.height); report.xconfigure.height);
break; break;
} }
} }
RrAppearanceFree (look); RrAppearanceFree (look);
RrInstanceFree (inst); RrInstanceFree (inst);
return 1; return 1;
} }

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
theme.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include "render.h" #include "render.h"
#include "color.h" #include "color.h"
#include "font.h" #include "font.h"

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
theme.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#ifndef __theme_h #ifndef __theme_h
#define __theme_h #define __theme_h

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
aspect.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
fullscreen.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
grav.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
icons.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
modal.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
modal2.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
modal3.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
noresize.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -1,3 +1,21 @@
/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
override.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See the COPYING file for a copy of the GNU General Public License.
*/
#include <stdio.h> #include <stdio.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

Some files were not shown because too many files have changed in this diff Show more