Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7ad93c29
Commit
7ad93c29
authored
Jul 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skins2: compability with C++11
parent
f9186dcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/skins2/x11/x11_factory.cpp
modules/gui/skins2/x11/x11_factory.cpp
+2
-2
No files found.
modules/gui/skins2/x11/x11_factory.cpp
View file @
7ad93c29
...
@@ -225,7 +225,7 @@ void X11Factory::getMonitorInfo( const GenericWindow &rWindow,
...
@@ -225,7 +225,7 @@ void X11Factory::getMonitorInfo( const GenericWindow &rWindow,
if
(
info
)
if
(
info
)
{
{
Region
reg1
=
XCreateRegion
();
Region
reg1
=
XCreateRegion
();
XRectangle
rect1
=
{
x
,
y
,
w
,
h
};
XRectangle
rect1
=
{
(
short
)
x
,
(
short
)
y
,
(
unsigned
short
)
w
,
(
unsigned
short
)
h
};
XUnionRectWithRegion
(
&
rect1
,
reg1
,
reg1
);
XUnionRectWithRegion
(
&
rect1
,
reg1
,
reg1
);
unsigned
int
surface
=
0
;
unsigned
int
surface
=
0
;
...
@@ -233,7 +233,7 @@ void X11Factory::getMonitorInfo( const GenericWindow &rWindow,
...
@@ -233,7 +233,7 @@ void X11Factory::getMonitorInfo( const GenericWindow &rWindow,
{
{
Region
reg2
=
XCreateRegion
();
Region
reg2
=
XCreateRegion
();
XRectangle
rect2
=
{
info
[
i
].
x_org
,
info
[
i
].
y_org
,
XRectangle
rect2
=
{
info
[
i
].
x_org
,
info
[
i
].
y_org
,
info
[
i
].
width
,
info
[
i
].
height
};
(
unsigned
short
)
info
[
i
].
width
,
(
unsigned
short
)
info
[
i
].
height
};
XUnionRectWithRegion
(
&
rect2
,
reg2
,
reg2
);
XUnionRectWithRegion
(
&
rect2
,
reg2
,
reg2
);
Region
reg
=
XCreateRegion
();
Region
reg
=
XCreateRegion
();
...
...
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