This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit bed85d0f42473144a0777b51909ee3a9abc98155
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Aug 11 14:17:10 2023 +0200
Remove some pseudotransparency leftovers
---
src/emodule.h | 3 +--
src/ewins.c | 29 ++---------------------------
src/menus.c | 8 ++++----
src/settings.h | 3 +--
4 files changed, 8 insertions(+), 35 deletions(-)
diff --git a/src/emodule.h b/src/emodule.h
index 0c7794fa..69c1e7d5 100644
--- a/src/emodule.h
+++ b/src/emodule.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2021 Kim Woelders
+ * Copyright (C) 2003-2023 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -61,7 +61,6 @@ typedef enum {
ESIGNAL_EWIN_CHANGE_ICON,
ESIGNAL_EWIN_CHANGE,
ESIGNAL_EWIN_DAMAGE,
- ESIGNAL_THEME_TRANS_CHANGE,
} esignal_e;
#if 0 /* Maybe later */
diff --git a/src/ewins.c b/src/ewins.c
index 222c5723..ccb25807 100644
--- a/src/ewins.c
+++ b/src/ewins.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2022 Kim Woelders
+ * Copyright (C) 2004-2023 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -2264,25 +2264,6 @@ EwinListTransientFor(const EWin * ewin, int *num)
return lst;
}
-static void
-EwinsTouch(Desk * dsk)
-{
- int i, num;
- EWin *const *lst, *ewin;
-
- if (!dsk)
- lst = EwinListGetAll(&num);
- else
- lst = EwinListGetForDesk(&num, dsk);
-
- for (i = num - 1; i >= 0; i--)
- {
- ewin = lst[i];
- if (EoIsMapped(ewin) && EwinIsOnScreen(ewin))
- EwinMove(ewin, EoGetX(ewin), EoGetY(ewin), 0);
- }
-}
-
static void
EwinsReposition(void)
{
@@ -2752,7 +2733,7 @@ EwinsInit(void)
*/
static void
-EwinsSighan(int sig, void *prm)
+EwinsSighan(int sig, void *prm __UNUSED__)
{
switch (sig)
{
@@ -2767,12 +2748,6 @@ EwinsSighan(int sig, void *prm)
case ESIGNAL_DESK_RESIZE:
EwinsReposition();
break;
- case ESIGNAL_THEME_TRANS_CHANGE:
- EwinsTouch(DesksGetCurrent());
- break;
- case ESIGNAL_BACKGROUND_CHANGE:
- EwinsTouch((Desk *) prm);
- break;
}
}
diff --git a/src/menus.c b/src/menus.c
index 0b8e1bfd..247db649 100644
--- a/src/menus.c
+++ b/src/menus.c
@@ -1188,6 +1188,8 @@ MenusHide(void)
TooltipsEnable(1);
}
+#if ENABLE_DIALOGS
+
static void
MenusTouch(void)
{
@@ -1196,6 +1198,8 @@ MenusTouch(void)
LIST_FOR_EACH(Menu, &menu_list, m) m->redraw = 1;
}
+#endif /* ENABLE_DIALOGS */
+
/*
* Menu event handlers
*/
@@ -1942,10 +1946,6 @@ MenusSighan(int sig, void *prm __UNUSED__)
if ((EWin *) prm == Mode_menus.context_ewin)
MenusHide();
break;
-
- case ESIGNAL_THEME_TRANS_CHANGE:
- MenusTouch();
- break;
}
}
diff --git a/src/settings.h b/src/settings.h
index c03a7673..189aba53 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2009 Kim Woelders
+ * Copyright (C) 2006-2023 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -45,7 +45,6 @@ extern const DialogDef DlgRemember;
extern const DialogDef DlgSession;
extern const DialogDef DlgSound;
extern const DialogDef DlgTheme;
-extern const DialogDef DlgThemeTrans;
extern const DialogDef DlgTooltips;
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.