From a89a4c9273807320484ebd30075a5f58b71ba2cd Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Wed, 14 Jan 2026 00:21:47 +0100 Subject: Switch from c99 to c23 standard Create sketch for manual testing Disable redundant functions The following functions: movemouse, resizemouse, togglefloating, sendmon, pop, quit and zoom shall be removed. Specific windows (loading screens, notifications) will remain floating but there is no need in a window manager for manually toggling the floating behavior. Killing the session is no longer possible via keybinding. Insted I suggested adding a keybinding for reseting dwm and switching to TTY if it fails after all. --- TESTING.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 TESTING.md (limited to 'TESTING.md') diff --git a/TESTING.md b/TESTING.md new file mode 100644 index 0000000..376d43c --- /dev/null +++ b/TESTING.md @@ -0,0 +1,40 @@ +# Manual testing + +## Basic + +```make clean install``` completes without errors e.g + +``` +rm -f dwm src/core/dwm.o src/drw/drw.o src/util/util.o +clang -c -std=c23 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I./src -I./src/drw -I./src/util -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"\" -DXINERAMA -o src/core/dwm.o src/core/dwm.c +clang -c -std=c23 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I./src -I./src/drw -I./src/util -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"\" -DXINERAMA -o src/drw/drw.o src/drw/drw.c +clang -c -std=c23 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I./src -I./src/drw -I./src/util -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"\" -DXINERAMA -o src/util/util.o src/util/util.c +clang -o dwm src/core/dwm.o src/drw/drw.o src/util/util.o -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft -lX11-xcb -lxcb -lxcb-res +mkdir -p /usr/local/bin +cp -f dwm /usr/local/bin +chmod 755 /usr/local/bin/dwm +mkdir -p /usr/local/share/man/man1 +sed "s/VERSION//g" < assets/dwm.1 > /usr/local/share/man/man1/dwm.1 +chmod 644 /usr/local/share/man/man1/dwm.1 +``` + +No errors in stdout/stderr on startup + +## Keys + +Default terminal launches `Super+Enter` + +dwm restarts after `Super + r` + +## Multi-monitor + +xrandr on dsub, hdmi, dp + built-in screen + +## GUI Tools + +swallowing, floating etc. + +polkit permissions + +## A/V +pipewire in the browser, recording audio, matrix calls etc. -- cgit v1.2.3