forked from enlightenment/enlightenment
fix some warnings.. and use $DISPLAY by default (0:0 isn't really a display
name), errr... yeah... need to virtualize efsd launching.. someday... what if efsd isnt in the $PATH ? oh well.. for now it needs to be :) SVN revision: 5016
This commit is contained in:
parent
7cedcff3f5
commit
e6570df917
58
config.h.in
58
config.h.in
|
@ -25,6 +25,9 @@
|
||||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||||
#undef off_t
|
#undef off_t
|
||||||
|
|
||||||
|
/* Define if you need to in order for stat and other things to work. */
|
||||||
|
#undef _POSIX_SOURCE
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
|
||||||
|
@ -68,33 +71,12 @@
|
||||||
/* Define if you have the dcgettext function. */
|
/* Define if you have the dcgettext function. */
|
||||||
#undef HAVE_DCGETTEXT
|
#undef HAVE_DCGETTEXT
|
||||||
|
|
||||||
/* Define if you have the feof_unlocked function. */
|
|
||||||
#undef HAVE_FEOF_UNLOCKED
|
|
||||||
|
|
||||||
/* Define if you have the fgets_unlocked function. */
|
|
||||||
#undef HAVE_FGETS_UNLOCKED
|
|
||||||
|
|
||||||
/* Define if you have the getcwd function. */
|
/* Define if you have the getcwd function. */
|
||||||
#undef HAVE_GETCWD
|
#undef HAVE_GETCWD
|
||||||
|
|
||||||
/* Define if you have the getegid function. */
|
|
||||||
#undef HAVE_GETEGID
|
|
||||||
|
|
||||||
/* Define if you have the geteuid function. */
|
|
||||||
#undef HAVE_GETEUID
|
|
||||||
|
|
||||||
/* Define if you have the getgid function. */
|
|
||||||
#undef HAVE_GETGID
|
|
||||||
|
|
||||||
/* Define if you have the getpagesize function. */
|
/* Define if you have the getpagesize function. */
|
||||||
#undef HAVE_GETPAGESIZE
|
#undef HAVE_GETPAGESIZE
|
||||||
|
|
||||||
/* Define if you have the getuid function. */
|
|
||||||
#undef HAVE_GETUID
|
|
||||||
|
|
||||||
/* Define if you have the mempcpy function. */
|
|
||||||
#undef HAVE_MEMPCPY
|
|
||||||
|
|
||||||
/* Define if you have the munmap function. */
|
/* Define if you have the munmap function. */
|
||||||
#undef HAVE_MUNMAP
|
#undef HAVE_MUNMAP
|
||||||
|
|
||||||
|
@ -119,12 +101,6 @@
|
||||||
/* Define if you have the strdup function. */
|
/* Define if you have the strdup function. */
|
||||||
#undef HAVE_STRDUP
|
#undef HAVE_STRDUP
|
||||||
|
|
||||||
/* Define if you have the strtoul function. */
|
|
||||||
#undef HAVE_STRTOUL
|
|
||||||
|
|
||||||
/* Define if you have the tsearch function. */
|
|
||||||
#undef HAVE_TSEARCH
|
|
||||||
|
|
||||||
/* Define if you have the <argz.h> header file. */
|
/* Define if you have the <argz.h> header file. */
|
||||||
#undef HAVE_ARGZ_H
|
#undef HAVE_ARGZ_H
|
||||||
|
|
||||||
|
@ -140,12 +116,6 @@
|
||||||
/* Define if you have the <nl_types.h> header file. */
|
/* Define if you have the <nl_types.h> header file. */
|
||||||
#undef HAVE_NL_TYPES_H
|
#undef HAVE_NL_TYPES_H
|
||||||
|
|
||||||
/* Define if you have the <stddef.h> header file. */
|
|
||||||
#undef HAVE_STDDEF_H
|
|
||||||
|
|
||||||
/* Define if you have the <stdlib.h> header file. */
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
|
|
||||||
/* Define if you have the <string.h> header file. */
|
/* Define if you have the <string.h> header file. */
|
||||||
#undef HAVE_STRING_H
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
@ -155,6 +125,9 @@
|
||||||
/* Define if you have the <unistd.h> header file. */
|
/* Define if you have the <unistd.h> header file. */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define if you have the i library (-li). */
|
||||||
|
#undef HAVE_LIBI
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
|
||||||
|
@ -164,22 +137,3 @@
|
||||||
/* Define if using the dmalloc debugging malloc package */
|
/* Define if using the dmalloc debugging malloc package */
|
||||||
#undef WITH_DMALLOC
|
#undef WITH_DMALLOC
|
||||||
|
|
||||||
/* Define if you have the iconv() function. */
|
|
||||||
#undef HAVE_ICONV
|
|
||||||
|
|
||||||
/* Define as const if the declaration of iconv() needs const. */
|
|
||||||
#undef ICONV_CONST
|
|
||||||
|
|
||||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
||||||
#undef HAVE_LANGINFO_CODESET
|
|
||||||
|
|
||||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
||||||
#undef HAVE_LC_MESSAGES
|
|
||||||
|
|
||||||
/* Define to 1 if translation of program messages to the user's native language
|
|
||||||
is requested. */
|
|
||||||
#undef ENABLE_NLS
|
|
||||||
|
|
||||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
||||||
#undef HAVE_GETTEXT
|
|
||||||
|
|
||||||
|
|
|
@ -1297,6 +1297,7 @@ e_act_desk_start (void *o, E_Action *a, void *data, int x, int y, int rx, int ry
|
||||||
if (a->params) desk = atoi(a->params);
|
if (a->params) desk = atoi(a->params);
|
||||||
e_desktops_goto(desk);
|
e_desktops_goto(desk);
|
||||||
return;
|
return;
|
||||||
|
UN(o);
|
||||||
UN(a);
|
UN(a);
|
||||||
UN(data);
|
UN(data);
|
||||||
UN(x);
|
UN(x);
|
||||||
|
|
|
@ -7,4 +7,4 @@ void e_keys_init(void);
|
||||||
void e_keys_grab(char *key, Ev_Key_Modifiers mods, int anymod);
|
void e_keys_grab(char *key, Ev_Key_Modifiers mods, int anymod);
|
||||||
void e_keys_ungrab(char *key, Ev_Key_Modifiers mods, int anymod);
|
void e_keys_ungrab(char *key, Ev_Key_Modifiers mods, int anymod);
|
||||||
|
|
||||||
#endif;
|
#endif
|
||||||
|
|
|
@ -44,6 +44,7 @@ wm_running_error(Display * d, XErrorEvent * ev)
|
||||||
fprintf(stderr, "A WM is alreayd running. no point running now is there?\n");
|
fprintf(stderr, "A WM is alreayd running. no point running now is there?\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
UN(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup(void);
|
void setup(void);
|
||||||
|
@ -60,7 +61,7 @@ setup(void)
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
char *display = "0:0";
|
char *display = NULL;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
atexit(cb_exit);
|
atexit(cb_exit);
|
||||||
|
|
Loading…
Reference in New Issue