Well sort of. The only patent I remember related to software was the right mouse button drop down menu from the top of the screen (there are probably others). That isn't what I'd call an algorithm.
The patent isn't about right-mouse button menus but the fact that you can select *several* menu items at once (hold down RMB, click several menu items with LMB), which will be processed in the order you clicked them. It's patent no. 4,772,882 you can find search engines on uspto.gov.