1118 |
|
|
1119 |
#ifndef MSDOS |
#ifndef MSDOS |
1120 |
|
|
|
/* Return non-zero if a dialog or popup menu is already popped up. */ |
|
|
|
|
|
int |
|
|
x_menu_in_use () |
|
|
{ |
|
|
return ! NILP (menu_items_inuse); |
|
|
} |
|
|
|
|
1121 |
/* Set menu_items_inuse so no other popup menu or dialog is created. */ |
/* Set menu_items_inuse so no other popup menu or dialog is created. */ |
1122 |
|
|
1123 |
void |
void |
1125 |
int in_use; |
int in_use; |
1126 |
{ |
{ |
1127 |
menu_items_inuse = in_use ? Qt : Qnil; |
menu_items_inuse = in_use ? Qt : Qnil; |
1128 |
|
popup_activated_flag = in_use; |
1129 |
} |
} |
1130 |
|
|
1131 |
/* Wait for an X event to arrive or for a timer to expire. */ |
/* Wait for an X event to arrive or for a timer to expire. */ |