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
9aa3dfae
Commit
9aa3dfae
authored
May 06, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Linux): WM_CLASS also set for the invisible root window
parent
82f69eb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/gui/skins2/x11/x11_display.cpp
modules/gui/skins2/x11/x11_display.cpp
+6
-0
No files found.
modules/gui/skins2/x11/x11_display.cpp
View file @
9aa3dfae
...
@@ -209,6 +209,12 @@ X11Display::X11Display( intf_thread_t *pIntf ): SkinObject( pIntf ),
...
@@ -209,6 +209,12 @@ X11Display::X11Display( intf_thread_t *pIntf ): SkinObject( pIntf ),
m_mainWindow
=
XCreateWindow
(
m_pDisplay
,
root
,
0
,
0
,
1
,
1
,
0
,
0
,
m_mainWindow
=
XCreateWindow
(
m_pDisplay
,
root
,
0
,
0
,
1
,
1
,
0
,
0
,
InputOutput
,
CopyFromParent
,
0
,
&
attr
);
InputOutput
,
CopyFromParent
,
0
,
&
attr
);
// initialize WM_CLASS
XClassHint
classhint
;
classhint
.
res_name
=
(
char
*
)
"vlc"
;
classhint
.
res_class
=
(
char
*
)
"Vlc"
;
XSetClassHint
(
m_pDisplay
,
m_mainWindow
,
&
classhint
);
// Receive WM_DELETE_WINDOW
// Receive WM_DELETE_WINDOW
Atom
wm_delete
=
XInternAtom
(
m_pDisplay
,
"WM_DELETE_WINDOW"
,
False
);
Atom
wm_delete
=
XInternAtom
(
m_pDisplay
,
"WM_DELETE_WINDOW"
,
False
);
XSetWMProtocols
(
m_pDisplay
,
m_mainWindow
,
&
wm_delete
,
1
);
XSetWMProtocols
(
m_pDisplay
,
m_mainWindow
,
&
wm_delete
,
1
);
...
...
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