|
From: Vedran L. <vlj...@us...> - 2005-02-13 14:23:30
|
Update of /cvsroot/ede/ede101/edewm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2255 Modified Files: Hotkeys.cpp Log Message: Can't kill eiconman and eworkpanel with hotkey anymore... Index: Hotkeys.cpp =================================================================== RCS file: /cvsroot/ede/ede101/edewm/Hotkeys.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Hotkeys.cpp 14 Jan 2005 21:06:38 -0000 1.2 --- Hotkeys.cpp 13 Feb 2005 14:23:20 -0000 1.3 *************** *** 17,21 **** static void CloseWindow() { ! Frame::activeFrame()->close(); } --- 17,25 ---- static void CloseWindow() { ! Frame *act = Frame::activeFrame(); ! int acttype = act->window_type(); ! ! if ((acttype != TYPE_DESKTOP) && (acttype != TYPE_DOCK) && (acttype != TYPE_SPLASH)) ! act->close(); } |