mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-18 00:16:10 +01:00
moving software to separate submodules part 1
This commit is contained in:
8
desktop/.dmenu/patch/center.c
Normal file
8
desktop/.dmenu/patch/center.c
Normal file
@@ -0,0 +1,8 @@
|
||||
static int
|
||||
max_textw(void)
|
||||
{
|
||||
int len = 0;
|
||||
for (struct item *item = items; item && item->text; item++)
|
||||
len = MAX(TEXTW(item->text), len);
|
||||
return len;
|
||||
}
|
||||
Reference in New Issue
Block a user