[amiwm] Implement a keyboard shortcut to move a client to a different screen

This allows a keyboard shortcut to move a client to a different amiwm
screen.  That way when you have things like Firefox restart every window
in a single screen, you can quickly move screens to where they should be.
This commit is contained in:
Adrian Chadd
2022-05-26 18:54:13 -07:00
parent c0450d83bc
commit 631176c9a2
9 changed files with 45 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ int parse_keyword(char *str, YYSTYPE *val)
{ "lowerwindow", (mdfuncp)md_rotate_window_lower },
{ "raisewindow", (mdfuncp)md_rotate_window_raise },
{ "rotatescreens", (mdfuncp)k_rotscreens },
{ "rotatewindow", (mdfuncp)md_rotate_window_desktop },
};
#define N_FUNC (sizeof(functab)/sizeof(functab[0]))
struct { char *name; int token, num; } kwtab[] = {