cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 1e93ad2288fe3cc6be2cba1f79d745b8aefe5934
parent 388c5032b13ab84cc33edb0a49198c8de2c713f1
Author: David Auer <dreua@posteo.de>
Date:   Wed, 23 Dec 2020 23:05:34 +0100

Set wmclass for X11

Diffstat:
Mcnping.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cnping.c b/cnping.c @@ -729,9 +729,11 @@ int main( int argc, const char ** argv ) ERRM( "Fault in WSAStartup\n" ); exit( -2 ); } + CNFGSetup( title, 320, 155 ); +#else + CNFGSetupWMClass( title, 320, 155, "cnping", "cnping" ); #endif - CNFGSetup( title, 320, 155 ); if( memcmp( pinghost, "http://", 7 ) == 0 ) {