summaryrefslogtreecommitdiff
path: root/src/bin/e_ipc.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-05-20 10:14:51 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-05-20 10:14:51 +0000
commit3520914ccdcf295f3a4e05601a1ff5cb35a47298 (patch)
tree8f0d1524faac9f14dfb3efabb0e954b09e5ef066 /src/bin/e_ipc.c
parent38ab99da693ab2385fbe63cd60adcdf5ad4291f3 (diff)
and now it shoudl be able to change click to focs <-> mouse focus dynamically
and it all shoudl work - i hope. SVN revision: 14870
Diffstat (limited to 'src/bin/e_ipc.c')
-rw-r--r--src/bin/e_ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c
index 6984bee..c84c8dd 100644
--- a/src/bin/e_ipc.c
+++ b/src/bin/e_ipc.c
@@ -736,12 +736,13 @@ _e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event)
736 E_IPC_OP_DESKS_GET_REPLY); 736 E_IPC_OP_DESKS_GET_REPLY);
737 break; 737 break;
738 case E_IPC_OP_FOCUS_POLICY_SET: 738 case E_IPC_OP_FOCUS_POLICY_SET:
739 e_border_button_bindings_ungrab_all();
739 if (e_ipc_codec_int_dec(e->data, e->size, 740 if (e_ipc_codec_int_dec(e->data, e->size,
740 &(e_config->focus_policy))) 741 &(e_config->focus_policy)))
741 { 742 {
742 /* FIXME: if going to/from click to focus grab/ungrab */
743 e_config_save_queue(); 743 e_config_save_queue();
744 } 744 }
745 e_border_button_bindings_grab_all();
745 break; 746 break;
746 case E_IPC_OP_FOCUS_POLICY_GET: 747 case E_IPC_OP_FOCUS_POLICY_GET:
747 _e_ipc_reply_int_send(e->client, 748 _e_ipc_reply_int_send(e->client,