diff options
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c index ea0282a4ba0..96c8b9c4c47 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -2502,7 +2502,7 @@ are ignored. */) | |||
| 2502 | CHECK_STRING (message_type); | 2502 | CHECK_STRING (message_type); |
| 2503 | x_send_client_event(display, dest, from, | 2503 | x_send_client_event(display, dest, from, |
| 2504 | XInternAtom (dpyinfo->display, | 2504 | XInternAtom (dpyinfo->display, |
| 2505 | SDATA (message_type), | 2505 | SSDATA (message_type), |
| 2506 | False), | 2506 | False), |
| 2507 | format, values); | 2507 | format, values); |
| 2508 | 2508 | ||
| @@ -2538,9 +2538,9 @@ x_send_client_event (Lisp_Object display, Lisp_Object dest, Lisp_Object from, At | |||
| 2538 | } | 2538 | } |
| 2539 | else if (STRINGP (dest)) | 2539 | else if (STRINGP (dest)) |
| 2540 | { | 2540 | { |
| 2541 | if (strcmp (SDATA (dest), "PointerWindow") == 0) | 2541 | if (strcmp (SSDATA (dest), "PointerWindow") == 0) |
| 2542 | wdest = PointerWindow; | 2542 | wdest = PointerWindow; |
| 2543 | else if (strcmp (SDATA (dest), "InputFocus") == 0) | 2543 | else if (strcmp (SSDATA (dest), "InputFocus") == 0) |
| 2544 | wdest = InputFocus; | 2544 | wdest = InputFocus; |
| 2545 | else | 2545 | else |
| 2546 | error ("DEST as a string must be one of PointerWindow or InputFocus"); | 2546 | error ("DEST as a string must be one of PointerWindow or InputFocus"); |