diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c index 7d43f07071d..caa8e6a55a2 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1915,7 +1915,7 @@ Disowning it means there is no such selection.") | |||
| 1915 | { | 1915 | { |
| 1916 | Time timestamp; | 1916 | Time timestamp; |
| 1917 | Atom selection_atom; | 1917 | Atom selection_atom; |
| 1918 | XSelectionClearEvent event; | 1918 | struct selection_input_event event; |
| 1919 | Display *display; | 1919 | Display *display; |
| 1920 | struct x_display_info *dpyinfo; | 1920 | struct x_display_info *dpyinfo; |
| 1921 | 1921 | ||
| @@ -1945,7 +1945,7 @@ Disowning it means there is no such selection.") | |||
| 1945 | SELECTION_EVENT_DISPLAY (&event) = display; | 1945 | SELECTION_EVENT_DISPLAY (&event) = display; |
| 1946 | SELECTION_EVENT_SELECTION (&event) = selection_atom; | 1946 | SELECTION_EVENT_SELECTION (&event) = selection_atom; |
| 1947 | SELECTION_EVENT_TIME (&event) = timestamp; | 1947 | SELECTION_EVENT_TIME (&event) = timestamp; |
| 1948 | x_handle_selection_clear (&event); | 1948 | x_handle_selection_clear ((struct input_event *) &event); |
| 1949 | 1949 | ||
| 1950 | return Qt; | 1950 | return Qt; |
| 1951 | } | 1951 | } |