Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a3d4eefa
Commit
a3d4eefa
authored
May 04, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
May 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Build with msvcrt.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
10f38c06
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
57 additions
and
65 deletions
+57
-65
Makefile.in
dlls/winex11.drv/Makefile.in
+0
-2
dllmain.c
dlls/winex11.drv/dllmain.c
+1
-2
ime.c
dlls/winex11.drv/ime.c
+1
-10
systray.c
dlls/winex11.drv/systray.c
+1
-15
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-19
x11drv_dll.h
dlls/winex11.drv/x11drv_dll.h
+51
-0
xdnd.c
dlls/winex11.drv/xdnd.c
+3
-17
No files found.
dlls/winex11.drv/Makefile.in
View file @
a3d4eefa
...
...
@@ -6,8 +6,6 @@ DELAYIMPORTS = comctl32 ole32 shell32 imm32
EXTRAINCL
=
$(X_CFLAGS)
EXTRALIBS
=
-lwin32u
$(X_LIBS)
$(X_EXTRA_LIBS)
$(PTHREAD_LIBS)
-lm
EXTRADLLFLAGS
=
-mcygwin
C_SRCS
=
\
bitblt.c
\
brush.c
\
...
...
dlls/winex11.drv/dllmain.c
View file @
a3d4eefa
...
...
@@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "x11drv.h"
#include "x11drv_dll.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
x11drv
);
...
...
dlls/winex11.drv/ime.c
View file @
a3d4eefa
...
...
@@ -40,19 +40,10 @@
* generate the messages that we want the IMM layer to send to the application.
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winerror.h"
#include "x11drv_dll.h"
#include "wine/debug.h"
#include "imm.h"
#include "ddk/imm.h"
#include "winnls.h"
#include "x11drv.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
imm
);
...
...
dlls/winex11.drv/systray.c
View file @
a3d4eefa
...
...
@@ -20,25 +20,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <X11/Xlib.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "x11drv_dll.h"
#include "commctrl.h"
#include "shellapi.h"
#include "x11drv.h"
#include "wine/list.h"
#include "wine/debug.h"
...
...
dlls/winex11.drv/x11drv.h
View file @
a3d4eefa
...
...
@@ -435,7 +435,6 @@ extern int primary_monitor DECLSPEC_HIDDEN;
extern
int
copy_default_colors
DECLSPEC_HIDDEN
;
extern
int
alloc_system_colors
DECLSPEC_HIDDEN
;
extern
int
xrender_error_base
DECLSPEC_HIDDEN
;
extern
HMODULE
x11drv_module
DECLSPEC_HIDDEN
;
extern
char
*
process_name
DECLSPEC_HIDDEN
;
extern
Display
*
clipboard_display
DECLSPEC_HIDDEN
;
extern
WNDPROC
client_foreign_window_proc
;
...
...
@@ -841,24 +840,6 @@ extern NTSTATUS x11drv_tablet_info( void *arg ) DECLSPEC_HIDDEN;
extern
NTSTATUS
x11drv_xim_preedit_state
(
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_xim_reset
(
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_dnd_enter_event
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_dnd_position_event
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_dnd_post_drop
(
void
*
data
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_ime_set_composition_string
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_ime_set_result
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_systray_change_owner
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_dnd_drop_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_dnd_leave_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_get_cursor_pos
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_composition_status
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_cursor_pos
(
UINT
pos
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_open_status
(
UINT
open
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_update_association
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
foreign_window_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_client_func
(
enum
x11drv_client_funcs
func
,
const
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_client_call
(
enum
client_callback
func
,
UINT
arg
)
DECLSPEC_HIDDEN
;
...
...
dlls/winex11.drv/x11drv_dll.h
0 → 100644
View file @
a3d4eefa
/*
* X11 driver definitions
*
* Copyright 2022 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_X11DRV_DLL_H
#define __WINE_X11DRV_DLL_H
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "ntgdi.h"
#include "unixlib.h"
extern
NTSTATUS
WINAPI
x11drv_dnd_enter_event
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_dnd_position_event
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_dnd_post_drop
(
void
*
data
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_ime_set_composition_string
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_ime_set_result
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
x11drv_systray_change_owner
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_dnd_drop_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_dnd_leave_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_get_cursor_pos
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_composition_status
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_cursor_pos
(
UINT
pos
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_set_open_status
(
UINT
open
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_update_association
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
foreign_window_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
DECLSPEC_HIDDEN
;
extern
BOOL
show_systray
DECLSPEC_HIDDEN
;
extern
HMODULE
x11drv_module
DECLSPEC_HIDDEN
;
#endif
/* __WINE_X11DRV_DLL_H */
dlls/winex11.drv/xdnd.c
View file @
a3d4eefa
...
...
@@ -19,26 +19,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include <stdio.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#define COBJMACROS
#include "x11drv.h"
#include "x11drv_dll.h"
#include "shellapi.h"
#include "shlobj.h"
/* DROPFILES */
#include "oleidl.h"
#include "objidl.h"
#include "shlobj.h"
#include "wine/debug.h"
#include "wine/list.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment