X11: Handle paged menu control keys
X11 doesn't do menu paging, so handle the select page, invert page, and unselect page like selecting, inverting or unselecting all.
This commit is contained in:
+3
-3
@@ -257,19 +257,19 @@ Cardinal *num_params;
|
||||
X11_nhbell();
|
||||
return;
|
||||
}
|
||||
} else if (ch == MENU_SELECT_ALL) { /* select all */
|
||||
} else if (ch == MENU_SELECT_ALL || ch == MENU_SELECT_PAGE) {
|
||||
if (menu_info->how == PICK_ANY)
|
||||
select_all(wp);
|
||||
else
|
||||
X11_nhbell();
|
||||
return;
|
||||
} else if (ch == MENU_UNSELECT_ALL) { /* unselect all */
|
||||
} else if (ch == MENU_UNSELECT_ALL || ch == MENU_UNSELECT_PAGE) {
|
||||
if (menu_info->how == PICK_ANY)
|
||||
select_none(wp);
|
||||
else
|
||||
X11_nhbell();
|
||||
return;
|
||||
} else if (ch == MENU_INVERT_ALL) { /* invert all */
|
||||
} else if (ch == MENU_INVERT_ALL || ch == MENU_INVERT_PAGE) {
|
||||
if (menu_info->how == PICK_ANY)
|
||||
invert_all(wp);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user