- about
- customisation/
- dynamic window management/
- faq/
- multi monitor/
- multi pointer/
- patches/
- activetagindicatorbar/
- actualfullscreen/
- alpha/
- alternativetags/
- alttagsdecoration/
- alwayscenter/
- alwaysfullscreen/
- alwaysontop/
- anybar/
- aspectresize/
- attachabove/
- attachaside/
- attachasideandbelow/
- attachbelow/
- attachbottom/
- attachdirection/
- attachtop/
- autoresize/
- autostart/
- awesomebar/
- bar height/
- barpadding/
- bartabgroups/
- bottomstack/
- canfocusrule/
- center/
- centeredmaster/
- centeredwindowname/
- centretitle/
- cfacts/
- clientindicators/
- clientopacity/
- clientspertag/
- cmdcustomize/
- colemak keys/
- colorbar/
- columns/
- combo/
- cool autostart/
- cropwindows/
- current desktop/
- cyclelayouts/
- deck/
- decoration hints/
- defaulttransparency/
- dmenumatchtop/
- dragmfact/
- dualstatus/
- dwmc/
- dwmfifo/
- emptyview/
- ewmhtags/
- exresize/
- extrabar/
- fakefullscreen/
- fancybar/
- fibonacci/
- flextile/
- float border color/
- floatrules/
- focusadjacenttag/
- focusmaster/
- focusonclick/
- focusonnetactive/
- focusurgent/
- freespace/
- fsignal/
- fullgaps/
- fullscreen/
- gaplessgrid/
- gaps/
- gestures/
- goback/
- graballkeycodes/
- gridmode/
- hide vacant tags/
- historical/
- holdbar/
- horizgrid/
- inplacerotate/
- insets/
- ipc/
- ispermanent/
- keychain/
- keycodes/
- keymodes/
- keypressrelease/
- killunsel/
- launcher/
- layoutmenu/
- leftlayout/
- leftstack/
- mark/
- maximize/
- monocle count/
- monoclesymbol/
- moveontagmon/
- moveplace/
- moveresize/
- movestack/
- movethrow/
- movetoedge/
- mpdcontrol/
- multikey/
- namedscratchpads/
- nametag/
- nextprev/
- nmaster/
- noborder/
- nodmenu/
- notitle/
- nrowgrid/
- onlyquitonempty/
- pango/
- pertag/
- pledge/
- push/
- pwkl/
- removeborder/
- reorganizetags/
- resetlayout/
- resetnmaster/
- resizecorners/
- restartsig/
- rmaster/
- rotatestack/
- ru gaps/
- save floats/
- scheme switch/
- scratchpad/
- scratchpads/
- script tags/
- selectivefakefullscreen/
- selfrestart/
- setborderpx/
- setstatus/
- showselmon/
- single tagset/
- singularborders/
- sizehints/
- smartborders/
- spawn cwd/
- splitstatus/
- sshawarespawn/
- stacker/
- stackmfact/
- staticstatus/
- status2d/
- statusallmons/
- statusbutton/
- statuscmd/
- statuscolors/
- statuspadding/
- stdin/
- steam/
- sticky/
- swallow/
- swapfocus/
- swaptags/
- switchcol/
- switchtotag/
- systray/
- tab/
- tagall/
- taggrid/
- tagintostack/
- tagothermonitor/
- tapresize/
- tatami/
- three column/
- tilegap/
- titlecolor/
- transfer/
- unfloatvisible/
- urgentborder/
- uselessgap/
- vanitygaps/
- viewontag/
- vtcolors/
- warp/
- winview/
- xkb/
- xrdb/
- xresources/
- xtile/
- zoomswap/
- screenshots/
- status monitor/
- tutorial/
onlyquitonempty
Description
On the default keybinding of Alt-Shift-Q, it is possible to press it by accident, closing all your work. This patch makes it so dwm will only exit via quit() if no windows are open.
Because people may have different daemons, etc. open, you can configure the
count considered to be 'empty' via EMPTY_WINDOW_COUNT
.
Download
Author
- thatlittlegit - personal@thatlittlegit.tk