diff options
author | MC <mc@hack.org> | 2010-07-10 22:11:27 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-07-10 22:11:27 +0200 |
commit | 21dd460b4adc5bdd70f6563e2800309efe77edbf (patch) | |
tree | b6c889a7bf5fcec97fc09b4f219239de8586cdca /mcwm.c | |
parent | 217a42c46f6ca21c2eda76e53d432509f478b487 (diff) | |
download | mcwm-21dd460b4adc5bdd70f6563e2800309efe77edbf.zip |
Added helpful comment about how we might want to change unmap
handling.
Help now lists -x option.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -2310,7 +2310,14 @@ void events(void) * Note that we might not know about the window we got the * UnmapNotify event for. It might be a window we just * unmapped on *another* workspace when changing - * workspaces, for instance. This is not an error. + * workspaces, for instance, or it might be a window with + * override redirect set. This is not an error. + * + * XXX We might need to look in the global window list, + * after all. Consider if a window is unmapped on our last + * workspace while changing workspaces... If we do this, + * we need to keep track of our own windows and inore + * UnmapNotify on them. */ for (item = wslist[curws]; item != NULL; item = item->next) { @@ -2334,13 +2341,14 @@ void events(void) void printhelp(void) { - printf("mcwm: Usage: mcwm [-b] [-t terminal-program] [-f color] " - "[- u color]\n"); + printf("mcwm: Usage: mcwm [-b] [-t terminal-program] [-f colour] " + "[-u colour] [-x colour] \n"); printf(" -b means draw no borders\n"); printf(" -t urxvt will start urxvt when MODKEY + Return is pressed\n"); - printf(" -f color sets colour for focused window borders of focused " + printf(" -f colour sets colour for focused window borders of focused " "to a named color.\n"); - printf(" -u color sets colour for unfocused window borders."); + printf(" -u colour sets colour for unfocused window borders."); + printf(" -x color sets colour for fixed window borders."); } void sigcatch(int sig) |