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
f96f1c07
Commit
f96f1c07
authored
Jul 18, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: avoid queuing popup menu events while one is already being displayed.
parent
f8b9c6f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/gui/wxwindows/wxwindows.cpp
modules/gui/wxwindows/wxwindows.cpp
+9
-2
No files found.
modules/gui/wxwindows/wxwindows.cpp
View file @
f96f1c07
...
...
@@ -2,7 +2,7 @@
* wxwindows.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: wxwindows.cpp,v 1.
19 2003/07/18 11:39:39
gbazin Exp $
* $Id: wxwindows.cpp,v 1.
20 2003/07/18 13:22:07
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -285,5 +285,12 @@ static void ShowDialog( intf_thread_t *p_intf, int i_dialog_event, int i_arg )
{
wxCommandEvent
event
(
wxEVT_DIALOG
,
i_dialog_event
);
event
.
SetInt
(
i_arg
);
p_intf
->
p_sys
->
p_wxwindow
->
AddPendingEvent
(
event
);
/* Hack to prevent popup events to be enqueued when
* one is already active */
if
(
i_dialog_event
==
INTF_DIALOG_POPUPMENU
&&
!
p_intf
->
p_sys
->
p_popup_menu
)
{
p_intf
->
p_sys
->
p_wxwindow
->
AddPendingEvent
(
event
);
}
}
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