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:
@@ -413,18 +413,6 @@ wHackedGrabButton(unsigned int button, unsigned int modifiers,
|
|||||||
#endif /* NUMLOCK_HACK */
|
#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)
|
WScreen *wScreenWithNumber(int i)
|
||||||
{
|
{
|
||||||
assert(i < wScreenCount);
|
assert(i < wScreenCount);
|
||||||
|
|||||||
Reference in New Issue
Block a user