remove teh startup state saving hacks since we can reconfigure now. no more restarting for the average user anymore.

This commit is contained in:
Dana Jansens 2003-09-03 20:33:43 +00:00
parent 7416313cad
commit aae074a11a
2 changed files with 0 additions and 34 deletions

View file

@ -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);
}

View file

@ -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