Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
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
Dorota Czaplejewicz
gtk
Commits
d219bd4d
Commit
d219bd4d
authored
Feb 11, 2018
by
Emmanuele Bassi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11: Balance an error trap
We are pushing an error trap, and never popping it from the stack.
parent
255e2dd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkdnd-x11.c
+3
-1
No files found.
gdk/x11/gdkdnd-x11.c
View file @
d219bd4d
...
...
@@ -2701,7 +2701,7 @@ drag_context_grab (GdkDragContext *context)
g_set_object
(
&
x11_context
->
grab_seat
,
seat
);
gdk_
error_trap_push
(
);
gdk_
x11_display_error_trap_push
(
gdk_window_get_display
(
x11_context
->
ipc_window
)
);
for
(
i
=
0
;
i
<
G_N_ELEMENTS
(
grab_keys
);
++
i
)
{
...
...
@@ -2753,6 +2753,8 @@ drag_context_grab (GdkDragContext *context)
}
}
gdk_x11_display_error_trap_pop_ignored
(
gdk_window_get_display
(
x11_context
->
ipc_window
));
return
TRUE
;
}
...
...
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