Description: Avoid ugliness in display name
Avoids e.g. saying ":0.0:0" for display if run with "-d :0.0".
Author: Moray Allan <moray@debian.org>
--- a/xrestop.c
+++ b/xrestop.c
@@ -528,8 +528,8 @@
clear();
- mvprintw(0, 0, "xrestop - Display: %s:%i",
- app->dpy_name ? app->dpy_name : "localhost", app->screen);
+ mvprintw(0, 0, "xrestop - Display: %s",
+ app->dpy_name ? app->dpy_name : "localhost");
mvprintw(1, 0, " Monitoring %i clients. XErrors: %i", app->n_clients, app->n_xerrors);
mvprintw(2, 0, " Pixmaps: %8s total, Other: %8s total, All: %8s total",