Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6c4465f4
Commit
6c4465f4
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 xrandr.h.
parent
eafc8d0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
40 deletions
+11
-40
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-0
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+0
-3
xrandr.c
dlls/winex11.drv/xrandr.c
+10
-5
xrandr.h
dlls/winex11.drv/xrandr.h
+0
-32
No files found.
dlls/winex11.drv/x11drv.h
View file @
6c4465f4
...
@@ -664,6 +664,7 @@ struct x11drv_mode_info *X11DRV_Settings_SetHandlers(const char *name,
...
@@ -664,6 +664,7 @@ struct x11drv_mode_info *X11DRV_Settings_SetHandlers(const char *name,
void
X11DRV_XF86VM_Init
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Init
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Cleanup
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XF86VM_Cleanup
(
void
)
DECLSPEC_HIDDEN
;
void
X11DRV_XRandR_Init
(
void
)
DECLSPEC_HIDDEN
;
/* XIM support */
/* XIM support */
extern
BOOL
X11DRV_InitXIM
(
const
char
*
input_style
)
DECLSPEC_HIDDEN
;
extern
BOOL
X11DRV_InitXIM
(
const
char
*
input_style
)
DECLSPEC_HIDDEN
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
6c4465f4
...
@@ -47,7 +47,6 @@
...
@@ -47,7 +47,6 @@
#include "winreg.h"
#include "winreg.h"
#include "x11drv.h"
#include "x11drv.h"
#include "xrandr.h"
#include "xcomposite.h"
#include "xcomposite.h"
#include "wine/server.h"
#include "wine/server.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -576,10 +575,8 @@ static BOOL process_attach(void)
...
@@ -576,10 +575,8 @@ static BOOL process_attach(void)
/* initialize XVidMode */
/* initialize XVidMode */
X11DRV_XF86VM_Init
();
X11DRV_XF86VM_Init
();
#ifdef SONAME_LIBXRANDR
/* initialize XRandR */
/* initialize XRandR */
X11DRV_XRandR_Init
();
X11DRV_XRandR_Init
();
#endif
#ifdef SONAME_LIBXCOMPOSITE
#ifdef SONAME_LIBXCOMPOSITE
X11DRV_XComposite_Init
();
X11DRV_XComposite_Init
();
#endif
#endif
...
...
dlls/winex11.drv/xrandr.c
View file @
6c4465f4
...
@@ -20,24 +20,22 @@
...
@@ -20,24 +20,22 @@
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include "wine/debug.h"
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
xrandr
);
#ifdef SONAME_LIBXRANDR
#ifdef SONAME_LIBXRANDR
#include <X11/Xlib.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
#include <X11/extensions/Xrandr.h>
#include "x11drv.h"
#include "x11drv.h"
#include "xrandr.h"
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "wingdi.h"
#include "wingdi.h"
#include "wine/library.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
xrandr
);
static
void
*
xrandr_handle
;
static
void
*
xrandr_handle
;
...
@@ -299,4 +297,11 @@ void X11DRV_XRandR_Init(void)
...
@@ -299,4 +297,11 @@ void X11DRV_XRandR_Init(void)
TRACE
(
"Enabling XRandR
\n
"
);
TRACE
(
"Enabling XRandR
\n
"
);
}
}
#else
/* SONAME_LIBXRANDR */
void
X11DRV_XRandR_Init
(
void
)
{
TRACE
(
"XRandR support not compiled in.
\n
"
);
}
#endif
/* SONAME_LIBXRANDR */
#endif
/* SONAME_LIBXRANDR */
dlls/winex11.drv/xrandr.h
deleted
100644 → 0
View file @
eafc8d0b
/*
* Wine X11drv Xrandr interface
*
* Copyright 2003 Alexander James Pasadyn
*
* 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_XRANDR_H
#define __WINE_XRANDR_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef SONAME_LIBXRANDR
void
X11DRV_XRandR_Init
(
void
)
DECLSPEC_HIDDEN
;
#endif
/* SONAME_LIBXRANDR */
#endif
/* __WINE_XRANDR_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