From: Quentin Rameau Date: Sat, 7 Nov 2015 13:09:08 +0000 (+0100) Subject: setfullscreen: don't process the property twice X-Git-Url: https://git.xinqibao.xyz/dwm.git/commitdiff_plain/dce4fb373757727374d00c857ec0dfd225bbeafd?ds=inline;hp=dce4fb373757727374d00c857ec0dfd225bbeafd setfullscreen: don't process the property twice Some clients try to set _NET_WM_STATE_FULLSCREEN even when the window is already in fullscreen. For example, c->oldstate was set two times in a raw and window would then always be floating. We must check that it's not the case before processing it. (original patch modified with suggestion from Markus Teich ) ---