1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

Remove unused wHackedUngrabButton()

Pointed out by Nicolas Bonifas.
This commit is contained in:
Carlos R. Mafra
2009-12-06 14:22:05 +01:00
parent 4c4d50c813
commit 5fa41941fe

View File

@@ -413,18 +413,6 @@ wHackedGrabButton(unsigned int button, unsigned int modifiers,
#endif /* NUMLOCK_HACK */
}
#ifdef notused
void wHackedUngrabButton(unsigned int button, unsigned int modifiers, Window grab_window)
{
XUngrabButton(dpy, button, modifiers | _NumLockMask, grab_window);
XUngrabButton(dpy, button, modifiers | _ScrollLockMask, grab_window);
XUngrabButton(dpy, button, modifiers | _NumLockMask | _ScrollLockMask, grab_window);
XUngrabButton(dpy, button, modifiers | _NumLockMask | LockMask, grab_window);
XUngrabButton(dpy, button, modifiers | _ScrollLockMask | LockMask, grab_window);
XUngrabButton(dpy, button, modifiers | _NumLockMask | _ScrollLockMask | LockMask, grab_window);
}
#endif
WScreen *wScreenWithNumber(int i)
{
assert(i < wScreenCount);