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
eafc8d0b
Commit
eafc8d0b
authored
Jul 08, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Get rid of xvidmode.h.
parent
73eceafb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
44 deletions
+14
-44
x11drv.h
dlls/winex11.drv/x11drv.h
+3
-0
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+0
-5
xvidmode.c
dlls/winex11.drv/xvidmode.c
+11
-2
xvidmode.h
dlls/winex11.drv/xvidmode.h
+0
-37
No files found.
dlls/winex11.drv/x11drv.h
View file @
eafc8d0b
...
...
@@ -662,6 +662,9 @@ struct x11drv_mode_info *X11DRV_Settings_SetHandlers(const char *name,
unsigned
int
nmodes
,
int
reserve_depths
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Init
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Cleanup
(
void
)
DECLSPEC_HIDDEN
;
/* XIM support */
extern
BOOL
X11DRV_InitXIM
(
const
char
*
input_style
)
DECLSPEC_HIDDEN
;
extern
XIC
X11DRV_CreateIC
(
XIM
xim
,
struct
x11drv_win_data
*
data
)
DECLSPEC_HIDDEN
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
eafc8d0b
...
...
@@ -47,7 +47,6 @@
#include "winreg.h"
#include "x11drv.h"
#include "xvidmode.h"
#include "xrandr.h"
#include "xcomposite.h"
#include "wine/server.h"
...
...
@@ -575,10 +574,8 @@ static BOOL process_attach(void)
xinerama_init
(
WidthOfScreen
(
screen
),
HeightOfScreen
(
screen
)
);
X11DRV_Settings_Init
();
#ifdef SONAME_LIBXXF86VM
/* initialize XVidMode */
X11DRV_XF86VM_Init
();
#endif
#ifdef SONAME_LIBXRANDR
/* initialize XRandR */
X11DRV_XRandR_Init
();
...
...
@@ -625,10 +622,8 @@ static void thread_detach(void)
static
void
process_detach
(
void
)
{
X11DRV_Clipboard_Cleanup
();
#ifdef SONAME_LIBXXF86VM
/* cleanup XVidMode */
X11DRV_XF86VM_Cleanup
();
#endif
X11DRV_XRender_Finalize
();
/* cleanup GDI */
...
...
dlls/winex11.drv/xvidmode.c
View file @
eafc8d0b
...
...
@@ -34,8 +34,6 @@
#include <X11/extensions/xf86vmproto.h>
#endif
#include "xvidmode.h"
#include "windef.h"
#include "wingdi.h"
#include "ddrawi.h"
...
...
@@ -408,6 +406,17 @@ static BOOL X11DRV_XF86VM_SetGammaRamp(LPDDGAMMARAMP ramp)
return
ret
;
}
#else
/* SONAME_LIBXXF86VM */
void
X11DRV_XF86VM_Init
(
void
)
{
TRACE
(
"XVidMode support not compiled in.
\n
"
);
}
void
X11DRV_XF86VM_Cleanup
(
void
)
{
}
#endif
/* SONAME_LIBXXF86VM */
/***********************************************************************
...
...
dlls/winex11.drv/xvidmode.h
deleted
100644 → 0
View file @
73eceafb
/*
* DirectDraw HAL XVidMode interface
*
* Copyright 2001 TransGaming Technologies, Inc.
*
* 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_XVIDMODE_H
#define __WINE_XVIDMODE_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef SONAME_LIBXXF86VM
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
void
X11DRV_XF86VM_Init
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Cleanup
(
void
)
DECLSPEC_HIDDEN
;
#endif
/* SONAME_LIBXXF86VM */
#endif
/* __WINE_XVIDMODE_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