David Ritter wrote:
> Hello,
> I was testing out wmdctrl on my machine and needed the following
> changes to get the block and unblock to work for me. I might be
> messing up here so let me know if I've done something stupid.
> It would be nice to have a force/unforce, but there is very little
> room there. Maybe I'll try to hack that if I have time.
> Thanks for the program,
>
> David
>
>
>
> case BUTTON_BLOCK:
> if (blocked[0] == '1') {
> send_command("unblock\n");
> + blocked[0]='0';
> } else {
> send_command("block\n");
> + blocked[0]='1';
Actually, this is interesting, because diald should report whether
or not it's blocked within the loop. However, I see no harm in this
and I incorporated the fix.
Thanks
Tim Coleman
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]