Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_remember.h e_remember.c Log Message: Some formatting fixes. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_remember.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_remember.h 28 Oct 2006 01:32:43 -0000 1.9 +++ e_remember.h 4 Jan 2007 10:30:55 -0000 1.10 @@ -42,54 +42,49 @@ unsigned char transient; int apply; int max_score; - struct { - int pos_x, pos_y; - int res_x, res_y; - int pos_w, pos_h; - - int w, h; - - int layer; - - unsigned char lock_user_location; - unsigned char lock_client_location; - unsigned char lock_user_size; - unsigned char lock_client_size; - unsigned char lock_user_stacking; - unsigned char lock_client_stacking; - unsigned char lock_user_iconify; - unsigned char lock_client_iconify; - unsigned char lock_user_desk; - unsigned char lock_client_desk; - unsigned char lock_user_sticky; - unsigned char lock_client_sticky; - unsigned char lock_user_shade; - unsigned char lock_client_shade; - unsigned char lock_user_maximize; - unsigned char lock_client_maximize; - unsigned char lock_user_fullscreen; - unsigned char lock_client_fullscreen; - unsigned char lock_border; - unsigned char lock_close; - unsigned char lock_focus_in; - unsigned char lock_focus_out; - unsigned char lock_life; - - const char *border; - - unsigned char sticky; - - unsigned char shaded; - - unsigned char skip_winlist; - - int desk_x, desk_y; - - int zone; - - int head; - const char *command; - } prop; + struct + { + int pos_x, pos_y; + int res_x, res_y; + int pos_w, pos_h; + int w, h; + int layer; + + unsigned char lock_user_location; + unsigned char lock_client_location; + unsigned char lock_user_size; + unsigned char lock_client_size; + unsigned char lock_user_stacking; + unsigned char lock_client_stacking; + unsigned char lock_user_iconify; + unsigned char lock_client_iconify; + unsigned char lock_user_desk; + unsigned char lock_client_desk; + unsigned char lock_user_sticky; + unsigned char lock_client_sticky; + unsigned char lock_user_shade; + unsigned char lock_client_shade; + unsigned char lock_user_maximize; + unsigned char lock_client_maximize; + unsigned char lock_user_fullscreen; + unsigned char lock_client_fullscreen; + unsigned char lock_border; + unsigned char lock_close; + unsigned char lock_focus_in; + unsigned char lock_focus_out; + unsigned char lock_life; + + const char *border; + + unsigned char sticky; + unsigned char shaded; + unsigned char skip_winlist; + + int desk_x, desk_y; + int zone; + int head; + const char *command; + } prop; }; EAPI int e_remember_init(E_Startup_Mode mode); =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_remember.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_remember.c 14 Dec 2006 15:34:01 -0000 1.21 +++ e_remember.c 4 Jan 2007 10:30:55 -0000 1.22 @@ -11,13 +11,11 @@ static int _e_remember_sort_list(void * d1, void * d2); static E_Remember *_e_remember_find(E_Border *bd, int check_usable); - /* FIXME: match netwm window type */ /* local subsystem globals */ /* externally accessible functions */ - EAPI int e_remember_init(E_Startup_Mode mode) { @@ -31,12 +29,8 @@ E_Remember *rem; rem = l->data; - if ((rem->apply & E_REMEMBER_APPLY_RUN) && - (rem->prop.command)) - { - printf("REMEMBER CMD: \"%s\"\n", rem->prop.command); - e_util_head_exec(rem->prop.head, rem->prop.command); - } + if ((rem->apply & E_REMEMBER_APPLY_RUN) && (rem->prop.command)) + e_util_head_exec(rem->prop.head, rem->prop.command); } } @@ -342,7 +336,6 @@ rem->prop.command = evas_stringshare_add(buf); } - e_config_save_queue(); } @@ -397,7 +390,7 @@ ((!rem->transient) && (bd->client.icccm.transient_for == 0)))) matches++; if ((matches >= required_matches) && (!rem->delete_me)) - return rem; + return rem; } return NULL; #endif ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs