Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a33c431d
Commit
a33c431d
authored
Feb 02, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: use --x11-display
parent
19e0e15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+3
-3
No files found.
modules/gui/qt4/qt4.cpp
View file @
a33c431d
...
...
@@ -260,9 +260,9 @@ static int Open( vlc_object_t *p_this )
intf_sys_t
*
p_sys
;
#ifdef Q_WS_X11
/* Thanks for libqt4 calling exit() in QApplication::QApplication()
* instead of returning an error, we have to check the X11 display */
Display
*
p_display
=
XOpenDisplay
(
NULL
);
char
*
psz_display
=
var_CreateGetNonEmptyString
(
p_intf
,
"x11-display"
);
Display
*
p_display
=
XOpenDisplay
(
psz_display
);
free
(
psz_display
);
if
(
!
p_display
)
{
msg_Err
(
p_intf
,
"Could not connect to X server"
);
...
...
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