Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
57ecf19a
Commit
57ecf19a
authored
Apr 15, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add class for ICCCM Window Management.
This does _not_ fix #2322 (Qt4).
parent
5948f590
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+4
-0
No files found.
modules/video_output/xcb/window.c
View file @
57ecf19a
...
...
@@ -124,11 +124,15 @@ static int Open (vlc_object_t *obj)
goto
error
;
}
/* ICCCM
* No cut&paste nor drag&drop, only Window Manager communication. */
/* Plain ASCII localization of VLC for ICCCM window name */
set_ascii_prop
(
conn
,
window
,
XA_WM_NAME
,
pgettext
(
"ASCII VLC media player"
,
"VLC media player"
));
set_ascii_prop
(
conn
,
window
,
XA_WM_ICON_NAME
,
pgettext
(
"ASCII VLC"
,
"VLC"
));
xcb_change_property
(
conn
,
XCB_PROP_MODE_REPLACE
,
window
,
XA_WM_CLASS
,
XA_STRING
,
8
,
8
,
"vlc
\0
VLC"
);
wnd
->
handle
.
xid
=
window
;
wnd
->
p_sys
=
p_sys
;
...
...
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