2 * Copyright 2022 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include "wine/unixlib.h"
29 unix_tablet_attach_queue
,
30 unix_tablet_get_packet
,
32 unix_tablet_load_info
,
36 #define X11DRV_CALL(func, params) WINE_UNIX_CALL( unix_ ## func, params )
38 /* x11drv_init params */
41 WNDPROC foreign_window_proc
;
45 struct systray_dock_params
54 /* x11drv_tablet_info params */
55 struct tablet_info_params
62 /* x11drv_xim_preedit_state params */
63 struct xim_preedit_state_params
69 /* driver client callbacks exposed with KernelCallbackTable interface */
70 enum x11drv_client_funcs
72 client_func_callback
= NtUserDriverCallbackFirst
,
73 client_func_dnd_enter_event
,
74 client_func_dnd_position_event
,
75 client_func_dnd_post_drop
,
76 client_func_systray_change_owner
,
80 C_ASSERT( client_func_last
<= NtUserDriverCallbackLast
+ 1 );
82 /* simplified interface for client callbacks requiring only a single UINT parameter */
85 client_dnd_drop_event
,
86 client_dnd_leave_event
,
90 /* x11drv_callback params */
91 struct client_callback_params
97 /* x11drv_dnd_enter_event and x11drv_dnd_post_drop params */
105 /* x11drv_dnd_position_event params */
106 struct dnd_position_event_params
113 struct systray_change_owner_params