aboutsummaryrefslogtreecommitdiff
path: root/fbxkb.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbxkb.c')
-rw-r--r--fbxkb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fbxkb.c b/fbxkb.c
index 3890fbb..651ac3c 100644
--- a/fbxkb.c
+++ b/fbxkb.c
@@ -170,7 +170,7 @@ app_menu_about(GtkWidget *widget, gpointer data)
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
- "fbxkb %s\nX11 Keyboard switcher\nAuthor: Anatoly Asviyan <aanatoly@users.sf.net>", version);
+ "fbxkb %s\nX11 Keyboard switcher\nOriginal author: Anatoly Asviyan <aanatoly@users.sf.net>\ncustomized for stackrpms by bgstack15", version);
/* Destroy the dialog when the user responds to it (e.g. clicks a button) */
g_signal_connect_swapped (about_dialog, "response",
G_CALLBACK (gtk_widget_hide),
@@ -213,13 +213,13 @@ void docklet_clicked(GtkWidget *button, GdkEventButton *event, void *data)
if (event->type != GDK_BUTTON_PRESS)
RET();
- if (event->button == 1) {
+ if (event->button == 2) {
int no;
no = (cur_group + 1) % ngroups;
DBG("no=%d\n", no);
XkbLockGroup(dpy, XkbUseCoreKbd, no);
- } else if (event->button == 2) {
+ } else if (event->button == 1) {
gtk_menu_popup(GTK_MENU(flag_menu), NULL, NULL, NULL, NULL, event->button, event->time);
} else if (event->button == 3) {
gtk_menu_popup(GTK_MENU(app_menu), NULL, NULL, NULL, NULL, event->button, event->time);
bgstack15