kwo pushed a commit to branch master.

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

commit b0192f91658486d99bb82d19da8c95838879711e
Author: Kim Woelders <k...@woelders.dk>
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,
    MWMHints            mwm;
    char               *msg;
 
-#if SET_HINTS_OLD
-   unsigned long       val;
-#endif
 #if SET_HINTS_EWM
    Atom                atom_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 *)&val, 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 *)&val, 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 *)&val, 1);
-#endif
 #if SET_HINTS_EWM
    a = XInternAtom(disp, "_NET_WM_WINDOW_TYPE", False);
    atom_count = 0;

-- 


Reply via email to