commit 4c35dce712332229b7344b209849ee0fa70ae5ca from: Alexander Arkhipov date: Tue May 30 10:25:34 2023 UTC fix redrawnig when moving mouse pointer over a new item Removed fallthroughs, excepting the simplest cases -- relying on fallthroughs seems like a bad idea. commit - 70604d3e5e7044b9e30bea6529352836a9608720 commit + 4c35dce712332229b7344b209849ee0fa70ae5ca blob - 10e141b9757844a31a30e1e7a5159798fa236657 blob + 619a699b81d6c9b5d75ac77e802c0f9718e67421 --- Makefile +++ Makefile @@ -42,7 +42,7 @@ clean: dist: clean mkdir xitems$(V) - cp $(SRC) $(MAN) README COPYING CHANGES Makefile config.mk version.mk \ + cp $(SRC) $(MAN) README COPYING CHANGES Makefile version.mk \ xitems$(V) tar cf - xitems$(V) | gzip >xitems$(V).tar.gz rm -rf xitems$(V) blob - a280019360db62b26e5dc841f132285d69717351 blob + 1f2af7a54b1524a62b59548065e59aaf3427f762 --- xitems.c +++ xitems.c @@ -313,10 +313,12 @@ proc(void) switch (ev.type) { case EnterNotify: inwin = true; - /* FALLTHRU */ + redraw(); + break; case MotionNotify: selpos(ev.xbutton.y); - /* FALLTHRU */ + redraw(); + break; case Expose: expose(ev.xexpose); if (ev.xexpose.count)