[EGIT] [e16/e16-epplets] master 03/03: Drop old hint stuff

2021-08-23 Thread Kim Woelders
kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16-epplets.git/commit/?id=b0192f91658486d99bb82d19da8c95838879711e

commit b0192f91658486d99bb82d19da8c95838879711e
Author: Kim Woelders 
Date:   Mon Aug 23 14:07:55 2021 +0200

Drop old hint stuff

Has probably been obsolete for more than a decade by now.
---
 api/epplet.c | 21 -
 1 file changed, 21 deletions(-)

diff --git a/api/epplet.c b/api/epplet.c
index 10c8a32..97456dd 100644
--- a/api/epplet.c
+++ b/api/epplet.c
@@ -15,7 +15,6 @@
 
 #define DEBUG_EVENTS 0
 
-#define SET_HINTS_OLD  1
 #define SET_HINTS_EWM  1
 
 #define CRSR_WDTH 2
@@ -437,9 +436,6 @@ Epplet_Init(const char *name, const char *version, const 
char *info,
MWMHintsmwm;
char   *msg;
 
-#if SET_HINTS_OLD
-   unsigned long   val;
-#endif
 #if SET_HINTS_EWM
Atomatom_list[8];
int atom_count;
@@ -533,23 +529,6 @@ Epplet_Init(const char *name, const char *version, const 
char *info,
/* set the icons name property */
XSetIconName(disp, mainwin->win, epplet_name);
 
-#if SET_HINTS_OLD
-   /* set sticky & arrange ignore */
-   val = (1 << 0) /* | (1 << 9) */ ;
-   a = XInternAtom(disp, "_WIN_STATE", False);
-   XChangeProperty(disp, mainwin->win, a, XA_CARDINAL, 32, PropModeReplace,
-  (unsigned char *), 1);
-   /* set the default layer to below */
-   val = 2;
-   a = XInternAtom(disp, "_WIN_LAYER", False);
-   XChangeProperty(disp, mainwin->win, a, XA_CARDINAL, 32, PropModeReplace,
-  (unsigned char *), 1);
-   /* set skip focus, skip winlist dont cover skip taskbar flags */
-   val = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 5);
-   a = XInternAtom(disp, "_WIN_HINTS", False);
-   XChangeProperty(disp, mainwin->win, a, XA_CARDINAL, 32, PropModeReplace,
-  (unsigned char *), 1);
-#endif
 #if SET_HINTS_EWM
a = XInternAtom(disp, "_NET_WM_WINDOW_TYPE", False);
atom_count = 0;

-- 




[EGIT] [e16/e16-epplets] master 02/03: Drop obsolete AC_HEADER_SYS_WAIT

2021-08-23 Thread Kim Woelders
kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16-epplets.git/commit/?id=c0fb5577000c780546bcbe52d03abd9f42d77e96

commit c0fb5577000c780546bcbe52d03abd9f42d77e96
Author: Kim Woelders 
Date:   Mon Aug 23 14:19:04 2021 +0200

Drop obsolete AC_HEADER_SYS_WAIT
---
 configure.ac | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3b3cebd..40b63a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,6 @@ EC_C_VISIBILITY(yes)
 AC_PATH_XTRA
 
 dnl# Checks for header files.
-AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(unistd.h time.h math.h pwd.h sys/types.h varargs.h stdarg.h)
 
 dnl# Missing typedefs and replacements

-- 




[EGIT] [e16/e16-epplets] master 01/03: Eliminate obsolete AC_HEADER_TIME

2021-08-23 Thread Kim Woelders
kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16-epplets.git/commit/?id=901f4af6995a7333ce31f17a3b10f3aa96b1daa6

commit 901f4af6995a7333ce31f17a3b10f3aa96b1daa6
Author: Kim Woelders 
Date:   Fri Mar 26 16:15:46 2021 +0100

Eliminate obsolete AC_HEADER_TIME
---
 api/epplet.c | 1 +
 api/epplet.h.in  | 4 
 configure.ac | 1 -
 epplets/E-NetGraph.c | 1 +
 4 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/api/epplet.c b/api/epplet.c
index 4866bd0..10c8a32 100644
--- a/api/epplet.c
+++ b/api/epplet.c
@@ -4,6 +4,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/api/epplet.h.in b/api/epplet.h.in
index cef0c5f..e8b5a94 100644
--- a/api/epplet.h.in
+++ b/api/epplet.h.in
@@ -27,10 +27,6 @@
 #include 
 #include 
 
-#ifdef TIME_WITH_SYS_TIME
-#include 
-#endif
-
 #ifdef HAVE_GLX
 #include 
 #endif
diff --git a/configure.ac b/configure.ac
index c310bf1..3b3cebd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,6 @@ AC_PATH_XTRA
 dnl# Checks for header files.
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(unistd.h time.h math.h pwd.h sys/types.h varargs.h stdarg.h)
-AC_HEADER_TIME
 
 dnl# Missing typedefs and replacements
 AC_TYPE_MODE_T
diff --git a/epplets/E-NetGraph.c b/epplets/E-NetGraph.c
index d37651f..4d94027 100644
--- a/epplets/E-NetGraph.c
+++ b/epplets/E-NetGraph.c
@@ -7,6 +7,7 @@
 
 #include 
 #include 
+#include 
 
 #include "config.h"
 #include "epplet.h"

--