802 |
/* Multi_key compatible version */ |
/* Multi_key compatible version */ |
803 |
{ |
{ |
804 |
XmbLookupString(IC, |
XmbLookupString(IC, |
805 |
&xevent.xkey, str, sizeof(str), &keysym, &status); |
&xevent.xkey, str, sizeof(str), &keysym, |
806 |
|
&status); |
807 |
if (!((status == XLookupKeySym) || (status == XLookupBoth))) |
if (!((status == XLookupKeySym) || (status == XLookupBoth))) |
808 |
{ |
{ |
809 |
error("XmbLookupString failed with status 0x%x\n", |
error("XmbLookupString failed with status 0x%x\n", |
1000 |
} |
} |
1001 |
break; |
break; |
1002 |
|
|
1003 |
/* clipboard stuff */ |
/* clipboard stuff */ |
1004 |
case SelectionNotify: |
case SelectionNotify: |
1005 |
xclip_handle_SelectionNotify(&xevent.xselection); |
xclip_handle_SelectionNotify(&xevent.xselection); |
1006 |
break; |
break; |
1720 |
|
|
1721 |
XFree(image); |
XFree(image); |
1722 |
} |
} |
|
|
|