Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Dorota Czaplejewicz
gtk
Commits
d217f4d0
Commit
d217f4d0
authored
Feb 01, 2011
by
Benjamin Otte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11: Handle motif client message filter just like xdnd filters
parent
14cb485d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkdnd-x11.c
+8
-11
No files found.
gdk/x11/gdkdnd-x11.c
View file @
d217f4d0
...
...
@@ -146,6 +146,8 @@ static const struct {
const
char
*
atom_name
;
GdkFilterFunc
func
;
}
xdnd_filters
[]
=
{
{
"_MOTIF_DRAG_AND_DROP_MESSAGE"
,
motif_dnd_filter
},
{
"XdndEnter"
,
xdnd_enter_filter
},
{
"XdndLeave"
,
xdnd_leave_filter
},
{
"XdndPosition"
,
xdnd_position_filter
},
...
...
@@ -3132,11 +3134,6 @@ _gdk_x11_display_init_dnd (GdkDisplay *display)
int
i
;
init_byte_order
();
gdk_display_add_client_message_filter
(
display
,
gdk_atom_intern_static_string
(
"_MOTIF_DRAG_AND_DROP_MESSAGE"
),
motif_dnd_filter
,
NULL
);
for
(
i
=
0
;
i
<
G_N_ELEMENTS
(
xdnd_filters
);
i
++
)
{
gdk_display_add_client_message_filter
(
...
...
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