Skip to content
Snippets Groups Projects
Commit 2f36b62a authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Release events prior to opening the gtk menu to avoid a deadlock

(Old svn revision: 27147)
parent 85627e06
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,7 @@ handleKeyPress (DisplayInfo *display_info, XKeyEvent * ev)
}
break;
case KEY_POPUP_MENU:
XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
show_window_menu (c, frameX (c) + frameLeft (c),
frameY (c) + frameTop (c),
Button1, GDK_CURRENT_TIME);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment