On Mon, 16 Jan 2012 at 17:56:35 +0100, crmafra wrote:
> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project wmaker-crm.git.

 
> commit ae407c81ae8d8e40b504041455cf4ada0a35e1a8
> Author: Carlos R. Mafra <[email protected]>
> Date:   Mon Jan 16 05:31:06 2012 +0000
> 

[...]

>     But not everything is perfect. When the input dialog pops up it appears
>     partially covered by the menu itself and one is required to move it a bit
>     in order to input text. I feel like this small inconvenient is worth for
>     the moment. As fixing that might lead to other good stuff later on.

The following diff seems to do the trick. The root menu disappears 
and the input dialog takes its place.

I'll fold it into the original patch and rebase #next.

diff --git a/src/menu.c b/src/menu.c
index ea943b1..d9caa15 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1760,6 +1760,8 @@ static void menuMouseDown(WObjDescriptor * desc, XEvent * 
event)
                        name = wstrdup(scr->workspaces[number]->name);
                        snprintf(buffer, sizeof(buffer), _("Type the name for 
workspace %i:"), number + 1);
 
+                       wMenuUnmap(scr->root_menu);
+
                        if (wInputDialog(scr, _("Rename Workspace"), buffer, 
&name))
                                wWorkspaceRename(scr, number, name);
 


-- 
To unsubscribe, send mail to [email protected].

Reply via email to