CfgReqPosRelativeToMonitor - bakkeby/dusk GitHub Wiki

If the CfgReqPosRelativeToMonitor flag is set for a client then the window manager will treat a request to change position as being relative to the monitor the window is currently on.

Under normal circumstances the window manager will respect a configure request position to be absolute within the entire screen area which may span multiple monitors.

Setting this flag for a client will restore the behaviour from dwm where positional changes are treated as being relative to the monitor the client is assigned to.

Consider the following example.

We have a multi-monitor setup with a vertical screen on the left and a horizontal screen on the right. The left screen's top left corner will have position 0x0 while the right hand screen's top left corner is 1024x600.

We have a floating terminal on the right hand monitor and we run the following command:

xdotool getactivewindow windowmove 100 100

Under normal circumstances the terminal window is expected to be moved to the absolute position of 100x100 which is on the left hand vertical monitor.

If the CfgReqPosRelativeToMonitor flag is set for the terminal the window is expected to be moved to the position of 1124x700 (which is 100x100 pixels off the top left corner of the monitor the window was residing on).

Also see IgnoreCfgReq.

Back to Features > Flags.

⚠️ **GitHub.com Fallback** ⚠️