diff options
Diffstat (limited to '')
-rw-r--r-- | xutil.c | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xutil.c,v 1.3 2008/01/11 16:06:44 oga Exp $ + * $Id: xutil.c,v 1.4 2008/01/16 11:39:20 oga Exp $ */ #include "headers.h" @@ -84,16 +84,6 @@ xu_key_grab(Window win, int mask, int keysym) XGrabKey(X_Dpy, XKeysymToKeycode(X_Dpy, keysym), mask, win, True, GrabModeAsync, GrabModeAsync); -#if 0 - XGrabKey(X_Dpy, XKeysymToKeycode(X_Dpy, keysym), LockMask|mask, - win, True, GrabModeAsync, GrabModeAsync); -#endif -} - -void -xu_key_grab_keycode(Window win, int mask, int keycode) -{ - XGrabKey(X_Dpy, keycode, mask, win, True, GrabModeAsync, GrabModeAsync); } void @@ -144,17 +134,6 @@ xu_getstate(struct client_ctx *cc, int *state) return (0); } -char * -xu_getstrprop(struct client_ctx *cc, Atom atm) -{ - u_char *cp; - - if (xu_getprop(cc, atm, XA_STRING, 100L, &cp) <= 0) - return (NULL); - - return ((char *)cp); -} - void xu_setstate(struct client_ctx *cc, int state) { |