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 28c1a5fd05d23bc2eed85e72788ad7379d0a0207
Author: Kim Woelders <[email protected]>
AuthorDate: Fri Jun 10 14:04:10 2022 +0200
desktops: Introduce DesksGetNames()
---
src/desktops.c | 7 +++++++
src/desktops.h | 3 ++-
src/ewmh.c | 4 ++--
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/desktops.c b/src/desktops.c
index 173c626b..3cbac5b9 100644
--- a/src/desktops.c
+++ b/src/desktops.c
@@ -820,6 +820,13 @@ DesksGetNumber(void)
return Conf.desks.num;
}
+const char **
+DesksGetNames(void)
+{
+ /* Fall back to defaults */
+ return NULL;
+}
+
Desk *
DesksGetCurrent(void)
{
diff --git a/src/desktops.h b/src/desktops.h
index 9849a01e..2d7f83e0 100644
--- a/src/desktops.h
+++ b/src/desktops.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2019 Kim Woelders
+ * Copyright (C) 2004-2022 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
@@ -85,6 +85,7 @@ void DeskCurrentMoveAreaBy(int ax, int ay);
void DeskGotoByEwin(EWin * ewin, int now);
unsigned int DesksGetNumber(void);
+const char **DesksGetNames(void);
Desk *DesksGetCurrent(void);
Desk *DesktopAt(int x, int y);
unsigned int DesksGetCurrentNum(void);
diff --git a/src/ewmh.c b/src/ewmh.c
index 868ec776..5cb5ef06 100644
--- a/src/ewmh.c
+++ b/src/ewmh.c
@@ -196,8 +196,8 @@ EWMH_SetDesktopRoots(void)
void
EWMH_SetDesktopNames(void)
{
- /* Fall back to defaults */
- ex_netwm_desk_names_set(WinGetXwin(VROOT), NULL, DesksGetNumber());
+ ex_netwm_desk_names_set(WinGetXwin(VROOT), DesksGetNames(),
+ DesksGetNumber());
}
void
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.