Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfwm4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xfce
xfwm4
Commits
a4adb444
Commit
a4adb444
authored
20 years ago
by
Jean-François Wauthy
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
(Old svn revision: 12056)
parent
3e66e5ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mcs-plugin/xfwm4_shortcuteditor.c
+3
-3
3 additions, 3 deletions
mcs-plugin/xfwm4_shortcuteditor.c
with
3 additions
and
3 deletions
mcs-plugin/xfwm4_shortcuteditor.c
+
3
−
3
View file @
a4adb444
...
...
@@ -1098,7 +1098,7 @@ is_modifier (guint keycode)
}
static
gboolean
cb_compose_
dialog_key_press
(
GtkWidget
*
widget
,
GdkEventKey
*
event
,
gpointer
data
)
cb_compose_
shortcut
(
GtkWidget
*
widget
,
GdkEventKey
*
event
,
gpointer
data
)
{
Itf
*
itf
=
(
Itf
*
)
data
;
...
...
@@ -1290,7 +1290,7 @@ cb_activate_treeview3 (GtkWidget * treeview, GtkTreePath * path, GtkTreeViewColu
gtk_button_box_set_layout
(
GTK_BUTTON_BOX
(
GTK_DIALOG
(
dialog
)
->
action_area
),
GTK_BUTTONBOX_SPREAD
);
/* Connect signals */
g_signal_connect
(
G_OBJECT
(
dialog
),
"key-press-event"
,
G_CALLBACK
(
cb_compose_
dialog_key_press
),
itf
);
g_signal_connect
(
G_OBJECT
(
dialog
),
"key-press-event"
,
G_CALLBACK
(
cb_compose_
shortcut
),
itf
);
/* Take control on the keyboard */
if
(
gdk_keyboard_grab
(
gtk_widget_get_root_window
(
label
),
TRUE
,
GDK_CURRENT_TIME
)
!=
GDK_GRAB_SUCCESS
)
...
...
@@ -1508,7 +1508,7 @@ cb_activate_treeview4 (GtkWidget * treeview, GtkTreePath * path, GtkTreeViewColu
gtk_button_box_set_layout
(
GTK_BUTTON_BOX
(
GTK_DIALOG
(
dialog
)
->
action_area
),
GTK_BUTTONBOX_SPREAD
);
/* Connect signals */
g_signal_connect
(
G_OBJECT
(
dialog
),
"key-
p
re
ss
-event"
,
G_CALLBACK
(
cb_compose_
dialog_key_press
),
itf
);
g_signal_connect
(
G_OBJECT
(
dialog
),
"key-re
lease
-event"
,
G_CALLBACK
(
cb_compose_
shortcut
),
itf
);
/* Take control on the keyboard */
if
(
gdk_keyboard_grab
(
gtk_widget_get_root_window
(
label
),
TRUE
,
GDK_CURRENT_TIME
)
!=
GDK_GRAB_SUCCESS
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment