diff options
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index c014ffa8..e0a12665 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -324,8 +324,7 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { | |||
324 | else if (equal_Command(cmd, "splitmenu.open")) { | 324 | else if (equal_Command(cmd, "splitmenu.open")) { |
325 | setFocus_Widget(NULL); | 325 | setFocus_Widget(NULL); |
326 | iWidget *menu = findWidget_Root("splitmenu"); | 326 | iWidget *menu = findWidget_Root("splitmenu"); |
327 | openMenu_Widget(menu, zero_I2()); | 327 | openMenuFlags_Widget(menu, zero_I2(), postCommands_MenuOpenFlags | center_MenuOpenFlags); |
328 | setPos_Widget(menu, sub_I2(divi_I2(size_Root(get_Root()), 2), divi_I2(menu->rect.size, 2))); | ||
329 | return iTrue; | 328 | return iTrue; |
330 | } | 329 | } |
331 | else if (equal_Command(cmd, "contextclick")) { | 330 | else if (equal_Command(cmd, "contextclick")) { |