diff options
| author | Victor Kareh <[email protected]> | 2026-03-20 15:54:21 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-20 15:54:21 -0400 |
| commit | 371423c616a52ac1646c63210bf3729aff37c7c8 (patch) | |
| tree | c7440885e756e1d6ef220e9e157d8a52df823699 /src | |
| parent | 246092d0179e54ba1a77dd93de7971d8340d1e9d (diff) | |
| download | marco-fix-wireframe-invisible-borders.tar.bz2 marco-fix-wireframe-invisible-borders.tar.xz | |
screen: Use larger font for wireframe size popupfix-wireframe-invisible-borders
The wireframe resize/move popup used the "fixed" font, which is 13px and
quite small for modern displays. This changes it to "10x20", which is
20px and is included as part of the same Xorg fonts package.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/screen.c b/src/core/screen.c index f6f1c14a..73de3695 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -529,7 +529,7 @@ meta_screen_new (MetaDisplay *display, gc_values.line_width = META_WIREFRAME_XOR_LINE_WIDTH; value_mask |= GCLineWidth; - font_info = XLoadQueryFont (screen->display->xdisplay, "fixed"); + font_info = XLoadQueryFont (screen->display->xdisplay, "10x20"); if (font_info != NULL) { @@ -538,7 +538,7 @@ meta_screen_new (MetaDisplay *display, XFreeFontInfo (NULL, font_info, 1); } else - meta_warning ("xserver doesn't have 'fixed' font.\n"); + meta_warning ("xserver doesn't have '10x20' font.\n"); screen->root_xor_gc = XCreateGC (screen->display->xdisplay, screen->xroot, |
