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
b5087f21
Commit
b5087f21
authored
Oct 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wayland/shell: emit window size events
parent
908acfe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/video_output/wayland/shell_surface.c
modules/video_output/wayland/shell_surface.c
+8
-2
No files found.
modules/video_output/wayland/shell_surface.c
View file @
b5087f21
...
@@ -96,8 +96,13 @@ static int Control(vout_window_t *wnd, int cmd, va_list ap)
...
@@ -96,8 +96,13 @@ static int Control(vout_window_t *wnd, int cmd, va_list ap)
case
VOUT_WINDOW_SET_STATE
:
case
VOUT_WINDOW_SET_STATE
:
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
case
VOUT_WINDOW_SET_SIZE
:
case
VOUT_WINDOW_SET_SIZE
:
assert
(
0
);
{
unsigned
width
=
va_arg
(
ap
,
unsigned
);
unsigned
height
=
va_arg
(
ap
,
unsigned
);
vout_window_ReportSize
(
wnd
,
width
,
height
);
break
;
break
;
}
case
VOUT_WINDOW_SET_FULLSCREEN
:
case
VOUT_WINDOW_SET_FULLSCREEN
:
{
{
bool
fs
=
va_arg
(
ap
,
int
);
bool
fs
=
va_arg
(
ap
,
int
);
...
@@ -264,7 +269,8 @@ static int Open(vout_window_t *wnd, const vout_window_cfg_t *cfg)
...
@@ -264,7 +269,8 @@ static int Open(vout_window_t *wnd, const vout_window_cfg_t *cfg)
wnd
->
handle
.
wl
=
surface
;
wnd
->
handle
.
wl
=
surface
;
wnd
->
display
.
wl
=
display
;
wnd
->
display
.
wl
=
display
;
wnd
->
control
=
Control
;
wnd
->
control
=
Control
;
(
void
)
cfg
;
vout_window_ReportSize
(
wnd
,
cfg
->
width
,
cfg
->
height
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
error:
error:
...
...
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