Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d8355da2
Commit
d8355da2
authored
Jun 03, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* no-deco patch for X11. Courtesy of Dermot McGahon
parent
e6db2c38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+21
-1
No files found.
modules/video_output/x11/xcommon.c
View file @
d8355da2
...
@@ -983,6 +983,25 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
...
@@ -983,6 +983,25 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
XSetCommand
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
XSetCommand
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
p_vout
->
p_vlc
->
ppsz_argv
,
p_vout
->
p_vlc
->
i_argc
);
p_vout
->
p_vlc
->
ppsz_argv
,
p_vout
->
p_vlc
->
i_argc
);
if
(
!
var_GetBool
(
p_vout
,
"video-deco"
)
)
{
Atom
prop
;
mwmhints_t
mwmhints
;
mwmhints
.
flags
=
MWM_HINTS_DECORATIONS
;
mwmhints
.
decorations
=
False
;
prop
=
XInternAtom
(
p_vout
->
p_sys
->
p_display
,
"_MOTIF_WM_HINTS"
,
False
);
XChangeProperty
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
prop
,
prop
,
32
,
PropModeReplace
,
(
unsigned
char
*
)
&
mwmhints
,
PROP_MWM_HINTS_ELEMENTS
);
}
else
{
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
#ifdef MODULE_NAME_IS_x11
#ifdef MODULE_NAME_IS_x11
VOUT_TITLE
" (X11 output)"
VOUT_TITLE
" (X11 output)"
...
@@ -994,6 +1013,7 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
...
@@ -994,6 +1013,7 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
);
);
}
}
}
}
}
else
else
{
{
Window
dummy1
;
Window
dummy1
;
...
...
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