Latest git version.
bind = $mainMod, PRINT, exec, hyprshot -m window
Doesn't work from hyprland bind, but works fine from command line. Also note that output and region modes work fine.
I would send debug output but I can't find where it goes when this is done from a bind key.