Remove some pseudotransparency leftovers
This commit is contained in:
parent
b26c137bc3
commit
bed85d0f42
|
@ -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 */
|
||||
|
|
29
src/ewins.c
29
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue