[hackers] [dwm][PATCH] sendmon: resize fullscreen windows to target monitor

From: Ruben Gonzalez <neorubenx_AT_gmail.com>
Date: Mon, 9 Mar 2026 02:31:23 +0200

When a fullscreen window is moved to another monitor (e.g. via
tagmon), its geometry does not always match the new monitor's
dimensions.

Steps to reproduce:
1. Start dwm with two monitors (A and B).
2. Open a window on Monitor A.
3. Make the window fullscreen (e.g. Firefox with F11).
4. Move the window to Monitor B using the tagmon shortcut (Mod+Shift+>).
5. Go to the other monitor (B), observe that the window is still
visible on Monitor A and its contents, even though the window's title
is seen on Monitor B bar.
6. Go to the monitor A where the window is still in fullscreen, remove
the fullscreen and the window automatically will go to monitor B.

This fix ensures that fullscreen windows are correctly resized to the
new monitor's geometry during the move.

0001-sendmon-resize-fullscreen-windows-to-target-monitor.patch
Received on Mon Mar 09 2026 - 01:31:23 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 09 2026 - 08:36:33 CET