Fixing code to use config.h as default config incude file

This commit is contained in:
Sanel Zukan
2009-02-20 13:10:21 +00:00
parent 7513426131
commit 364b729f87
18 changed files with 97 additions and 118 deletions

View File

@@ -89,7 +89,7 @@ enum {
// values for state_flags:
// These change over time
enum {
IGNORE_UNMAP = 0x01, // we did something that echos an UnmapNotify
IGNORE_UNMAP = 0x01 // we did something that echos an UnmapNotify
};
class Icon;

View File

@@ -1,10 +1,12 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "Icccm.h"
#include "Frame.h"
#include "Winhints.h"
#include "Windowmanager.h"
#include <edeconf.h>
static void icccm_send_state(Window wid, long state)
{
long data[2];

31
edewm/Jamfile Normal file
View File

@@ -0,0 +1,31 @@
#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2009 EDE Authors.
#
# This program is licensed under terms of the
# GNU General Public License version 2 or newer.
# See COPYING for details.
SubDir TOP edewm ;
SOURCE = WMWindow.cpp
Theme.cpp
Netwm.cpp
Mwm.cpp
Icccm.cpp
Icon.cpp
Cursor.cpp
Desktop.cpp
Events.cpp
Frame.cpp
Hotkeys.cpp
Tabmenu.cpp
Titlebar.cpp
Windowmanager.cpp
Winhints.cpp
main.cpp ;
EfltkProgram edewm : $(SOURCE) ;
TranslationStrings locale : $(SOURCE) ;

View File

@@ -1,49 +0,0 @@
#
# $Id: Makefile 1957 2007-06-25 19:42:47Z vljubovic $
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2000-2006 EDE Authors.
#
# This program is licenced under terms of the
# GNU General Public Licence version 2 or newer.
# See COPYING for details.
CPPFILES = WMWindow.cpp\
Theme.cpp\
Netwm.cpp\
Mwm.cpp\
Icccm.cpp\
Icon.cpp\
Cursor.cpp\
Desktop.cpp\
Events.cpp\
Frame.cpp\
Hotkeys.cpp\
Tabmenu.cpp\
Titlebar.cpp\
Windowmanager.cpp\
Winhints.cpp\
main.cpp
TARGET = edewm
POFILES = locale/ru.po\
locale/sr.po\
locale/sk.po\
locale/hu.po\
locale/de.po\
locale/fr.po
include ../makeinclude
install:
$(INSTALL_PROGRAM) $(TARGET) $(bindir)
$(INSTALL_LOCALE)
uninstall:
$(RM) $(bindir)/$(TARGET)
clean:
$(RM) $(TARGET)
$(RM) *.o

View File

@@ -113,5 +113,5 @@ Fl_Color frame_color()
return _frame_color;
}
}; /* namespace Theme */
} /* namespace Theme */

View File

@@ -26,6 +26,6 @@ extern void unload_theme();
extern Fl_Image *image(int which);
extern Fl_Color frame_color();
};
}
#endif

View File

@@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "Frame.h"
#include "Desktop.h"
#include "Windowmanager.h"
@@ -11,7 +15,6 @@
#include "config.h"
#include "debug.h"
#include <edeconf.h>
#include <signal.h>