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
4a0090f4
Commit
4a0090f4
authored
Aug 13, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates window title even in fullscreen - patch by Aurélien Jacobs
parent
a8fbff24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
22 deletions
+20
-22
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+20
-22
No files found.
modules/video_output/x11/xcommon.c
View file @
4a0090f4
...
@@ -1619,6 +1619,26 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
...
@@ -1619,6 +1619,26 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
CWBackingStore
|
CWBackPixel
|
CWEventMask
,
CWBackingStore
|
CWBackPixel
|
CWEventMask
,
&
xwindow_attributes
);
&
xwindow_attributes
);
var_Get
(
p_vout
,
"video-title"
,
&
val
);
if
(
!
val
.
psz_string
||
!*
val
.
psz_string
)
{
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
#ifdef MODULE_NAME_IS_x11
VOUT_TITLE
" (X11 output)"
#elif defined(MODULE_NAME_IS_glx)
VOUT_TITLE
" (GLX output)"
#else
VOUT_TITLE
" (XVideo output)"
#endif
);
}
else
{
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
val
.
psz_string
);
}
if
(
val
.
psz_string
)
free
(
val
.
psz_string
);
if
(
!
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
b_fullscreen
)
{
{
/* Set window manager hints and properties: size hints, command,
/* Set window manager hints and properties: size hints, command,
...
@@ -1645,28 +1665,6 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
...
@@ -1645,28 +1665,6 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
(
unsigned
char
*
)
&
mwmhints
,
(
unsigned
char
*
)
&
mwmhints
,
PROP_MWM_HINTS_ELEMENTS
);
PROP_MWM_HINTS_ELEMENTS
);
}
}
else
{
var_Get
(
p_vout
,
"video-title"
,
&
val
);
if
(
!
val
.
psz_string
||
!*
val
.
psz_string
)
{
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
#ifdef MODULE_NAME_IS_x11
VOUT_TITLE
" (X11 output)"
#elif defined(MODULE_NAME_IS_glx)
VOUT_TITLE
" (GLX output)"
#else
VOUT_TITLE
" (XVideo output)"
#endif
);
}
else
{
XStoreName
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
val
.
psz_string
);
}
if
(
val
.
psz_string
)
free
(
val
.
psz_string
);
}
}
}
}
}
else
else
...
...
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