xdm patches 2009-01-29 Warren Block These patches make xdm more usable with multiple monitors and larger virtual screens. New resources are added in the xdm Xresources file. ! make the mouse pointer appear center bottom in the login window. xlogin.Login.mouseInside: True ! make the login window appear on a specific monitor ! monitors are 0, 1, ... totalmonitors-1 ! order may not agree with your xorg.conf xlogin.Login.selectMonitor: 1 ! to restore xdm default behavior, comment/remove these resources or set: ! xlogin.Login.mouseInside: False ! xlogin.Login.selectMonitor: -1 Installation Update the ports tree so you have the FreeBSD port of xdm-1.1.8_1. Copy the five patch files to /usr/ports/x11/xdm/files. Build and install the port. Modify /usr/local/lib/X11/xdm/Xresources as above. Use xdm. Notes: Feedback on clarity and style would be helpful. I don't do C much. patch-greeter-greet.c-WB should be okay. All of the following are for adding support for the new resources. Are the additions made in the right place and correctly commented? patch-dm.h-WB patch-greeter-Login.c-WB patch-greeter-Login.h-WB patch-greeter-LoginP.h-WB There's already a ports patch file for greet.c. Having multiple patches for a single file is bad form. At present it's just for testing. Disclaimer No guarantees, use at your own risk, your mileage may vary, DO NOT EAT!