使用 Xephyr 调试程序时继承现有 dpi 设置的值

This commit is contained in:
2025-12-20 22:50:33 +08:00
parent 8eeeff5f3b
commit c5e79661d1

View File

@@ -19,10 +19,10 @@ clean:
${RM} -r $(BUILD_DIR)
run:
-$(shell Xephyr :3 -screen 1920x1080 &)
-$(shell Xephyr :3 -screen 1920x1080 -dpi `xrdb -get Xft.dpi` &)
run_multiple_screen:
-$(shell Xephyr :3 -screen 1920x1080 -screen 1920x1080 +xinerama &)
-$(shell Xephyr :3 -screen 1920x1080 -screen 1920x1080 +xinerama -dpi `xrdb -get Xft.dpi` &)
wm: $(TARGET_NAME)
DISPLAY=:3 $(TARGET)