From aae074a11affd5c8bbe22b326ddbec323bb85677 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 20:33:43 +0000 Subject: [PATCH] remove teh startup state saving hacks since we can reconfigure now. no more restarting for the average user anymore. --- openbox/startup.c | 23 ----------------------- openbox/startup.h | 11 ----------- 2 files changed, 34 deletions(-) delete mode 100644 openbox/startup.c delete mode 100644 openbox/startup.h diff --git a/openbox/startup.c b/openbox/startup.c deleted file mode 100644 index 8b6259a7..00000000 --- a/openbox/startup.c +++ /dev/null @@ -1,23 +0,0 @@ -#include "prop.h" -#include "screen.h" -#include "client.h" -#include "focus.h" -#include "config.h" -#include "openbox.h" - -guint32 *startup_stack_order = NULL; -guint startup_stack_size = 0; -guint32 startup_active = None; -guint32 startup_desktop = 0; - -void startup_save() -{ - /* save the stacking order on startup! */ - PROP_GETA32(RootWindow(ob_display, ob_screen), - net_client_list_stacking, window, - (guint32**)&startup_stack_order, &startup_stack_size); - PROP_GET32(RootWindow(ob_display, ob_screen), - net_active_window, window, &startup_active); - PROP_GET32(RootWindow(ob_display, ob_screen), - net_current_desktop, cardinal, &startup_desktop); -} diff --git a/openbox/startup.h b/openbox/startup.h deleted file mode 100644 index 4963ccbf..00000000 --- a/openbox/startup.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef __startup_h -#define __startup_h - -extern guint32 *startup_stack_order; -extern guint startup_stack_size; -extern guint32 startup_active; -extern guint32 startup_desktop; - -void startup_save(); - -#endif -- 2.39.2