[PATCH] center server tab close dialog
Brought to you by:
zed
when using tabs and trying to close a server tab with the mouse (right click, close), the close confirmation dialog will appear at the mouse position. which is on the bottom of screen, and that makes the buttons of the dialog invisible.
this patch centers the close dialog when using tabs and keeps displaying it at the mouse position for other cases.
this patch was made for xchat svn revision 1468 (head at the time of writing).
patch for close dialog positioning
screenshot of the problem
thanks for merger, but in fact, this could be improved even more by centering the dialog only if the tab is on the bottom. the patch for that is attached (it's basically just adding a prefs.tab_pos == 6 check).
(the patch is for r1479)