Enlightenment CVS committal
Author : mekius
Project : e17
Module : proto
Dir : e17/proto/empower/src/bin/ewl
Modified Files:
empower_cb_ewl.c
Log Message:
Removed keyboard/pointer grab until I can fix this strange hanging bug
===================================================================
RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/empower_cb_ewl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- empower_cb_ewl.c 4 Apr 2006 04:26:22 -0000 1.1
+++ empower_cb_ewl.c 5 Apr 2006 17:54:07 -0000 1.2
@@ -25,10 +25,11 @@
void reveal_cb(Ewl_Widget *w, void *event, void *data)
{
ewl_window_move(EWL_WINDOW(win), xpos, ypos);
+ ewl_window_raise(EWL_WINDOW(win));
}
void pipe_to_sudo_cb(Ewl_Widget *w, void *event, void *data)
-{
+{
FILE *sudo_pipe;
const char *pass = ewl_password_text_get(EWL_PASSWORD(data));
@@ -41,8 +42,8 @@
if(pid == 0)
{
- ewl_window_keyboard_grab_set(EWL_WINDOW(win), 0);
- ewl_window_pointer_grab_set(EWL_WINDOW(win), 0);
+ //ewl_window_keyboard_grab_set(EWL_WINDOW(win), 0);
+ //ewl_window_pointer_grab_set(EWL_WINDOW(win), 0);
sudo_pipe = popen(buf, "w");
fprintf(sudo_pipe, "%s\n", password);
pclose(sudo_pipe);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs