X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FScreen.cc;h=775254c66d3147c67a23e9ab9b36d5539d52d499;hb=75a068cca2be843fc91521d94f0c7915b3e52598;hp=4716d23a3532e56991d34a30a0f063b7d1ac0846;hpb=eb136b9629b61d43c00c3cf105ff170fb8c75ad1;p=chaz%2Fopenbox diff --git a/src/Screen.cc b/src/Screen.cc index 4716d23a..775254c6 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1217,8 +1217,8 @@ void BScreen::manageWindow(Window w) { // desktop windows cant do anything, so we remove all the normal window // stuff from them, they are only kept around so that we can keep them on // the bottom of the z-order - addDesktopWindow(win->getClientWindow()); win->restore(True); + addDesktopWindow(win->getClientWindow()); delete win; return; } @@ -2170,9 +2170,10 @@ void BScreen::toggleFocusModel(FocusModel model) { if (model == SloppyFocus) { saveSloppyFocus(True); } else { + // we're cheating here to save writing the config file 3 times + resource.auto_raise = False; + resource.click_raise = False; saveSloppyFocus(False); - saveAutoRaise(False); - saveClickRaise(False); } updateFocusModel();