popup: follow GDK_SCALE on HiDPI

The popup was 32-pixel rows whatever the display; next to 2x application
text it was small. Its metrics now scale with the daemon's GDK_SCALE,
the setting the applications use.
This commit is contained in:
2026-08-16 21:35:43 +09:00
parent 30abd05e68
commit 4ff696d06c
6 changed files with 24 additions and 13 deletions

View File

@@ -5,6 +5,8 @@ enum {
Asciitofull = 0xFEE0,
};
int popupscale = 1;
static void
fill(u32int *buf, int n, u32int color)
{