kiss-mfavila-small/ports/fvwm-patched/patches/04-Conditionals.patch
2021-05-09 03:10:08 -03:00

42 lines
1.1 KiB
Diff

diff --unified --recursive --text fvwm-2.6.9/fvwm/conditional.c fvwm-patched/fvwm/conditional.c
--- fvwm-2.6.9/fvwm/conditional.c 2019-08-24 16:50:07.000000000 -0600
+++ fvwm-patched/fvwm/conditional.c 2020-08-21 15:49:23.879779609 -0600
@@ -596,6 +596,36 @@
SET_HAS_HANDLES(mask, on);
SETM_HAS_HANDLES(mask, 1);
}
+ else if (StrEquals(cond, "HasTitle"))
+ {
+ SET_HAS_TITLE(mask, on);
+ SETM_HAS_TITLE(mask, 1);
+ }
+ else if (StrEquals(cond, "HasBorders"))
+ {
+ SET_HAS_NO_BORDER(mask, !on);
+ SETM_HAS_NO_BORDER(mask, 1);
+ }
+ else if (StrEquals(cond, "TitleAtBottom"))
+ {
+ SET_TITLE_DIR(mask, DIR_S);
+ SETM_TITLE_DIR(mask, 1);
+ }
+ else if (StrEquals(cond, "TitleAtTop"))
+ {
+ SET_TITLE_DIR(mask, DIR_N);
+ SETM_TITLE_DIR(mask, 1);
+ }
+ else if (StrEquals(cond, "TitleAtLeft"))
+ {
+ SET_TITLE_DIR(mask, DIR_W);
+ SETM_TITLE_DIR(mask, 1);
+ }
+ else if (StrEquals(cond, "TitleAtRight"))
+ {
+ SET_TITLE_DIR(mask, DIR_E);
+ SETM_TITLE_DIR(mask, 1);
+ }
else if (StrEquals(cond,"Iconifiable"))
{
SET_IS_UNICONIFIABLE(mask, !on);
Only in fvwm-patched/fvwm: conditional.c.orig