Commit graph

1871 commits

Author SHA1 Message Date
Luke Smith
1c7d57451b
Merge pull request #68 from vladdoster/patch-1
formatting
2020-05-16 06:57:35 -04:00
Vlad Doster
446860de3b
add relative link 2020-05-15 23:50:50 -05:00
Vlad Doster
0d3e15f040
Update config.h 2020-05-15 22:26:40 -05:00
Vlad Doster
2ba1fed2b2
Update config.h 2020-05-15 22:07:11 -05:00
Vlad Doster
54d5c10d91
formatting 2020-05-15 21:21:54 -05:00
Luke Smith
ed5803de18
Merge pull request #66 from mokulus/stack-fix
Fix crashes when stack is empty
2020-05-12 11:31:28 -04:00
MateuszOkulus
ddb3992e8b Fix crashes when stack is empty 2020-05-12 16:48:47 +02:00
Luke Smith
9a5ddbabc5
Merge pull request #64 from cm-mcl/master
Update dwm.1
2020-05-11 12:36:08 -04:00
cm-mcl
a641684d56
Update dwm.1
Fix typo on line 32
2020-05-11 12:06:56 -04:00
Luke Smith
0f3f2a46e4
borders red and non-transparent 2020-05-08 13:12:08 -04:00
Luke Smith
771df89d28
v to move to master 2020-05-08 12:49:20 -04:00
Luke Smith
d6839077f8
can shift click modules,
shift right click opens config
2020-05-07 17:04:45 -04:00
Luke Smith
c4b0eb74d0
commenting unused funcs to avoid build warnings 2020-05-06 20:09:47 -04:00
Luke Smith
96620c7da0
move only by one minute 2020-05-06 20:05:27 -04:00
Luke Smith
77b71252d3
that was removed 2020-05-06 08:00:41 -04:00
Luke Smith
39e3fbaaba
Merge pull request #57 from aajonusonline/master
swallow patch: unfullscreen client and reset focus
2020-05-05 13:30:22 -04:00
Luke Smith
8f4d5e03d3
don't swallow if window floats 2020-05-05 13:27:59 -04:00
Aajonus Online
ff49b0353e fixes previous patch 2020-05-05 19:47:01 +03:00
Aajonus Online
305c442aca swallow patch: unfullscreen client and reset focus 2020-05-05 19:31:53 +03:00
Luke Smith
b9e9ed1381
xev doesn't swallow 2020-05-05 11:47:25 -04:00
Luke Smith
8cd072359b
begin man udpates 2020-05-05 11:47:18 -04:00
Luke Smith
f342b099a5
Merge pull request #56 from aajonusonline/master
swallow patch: fix ignoring of noswallow in config
2020-05-05 11:40:49 -04:00
Aajonus Online
c4f45fafac swallow patch: fix ignoring of noswallow in config 2020-05-05 18:03:31 +03:00
Luke Smith
01231194cc
super+shift+g/; to send to prev/next window
i'll merge the functions later maybe lol
2020-05-03 16:08:23 -04:00
Luke Smith
8cd6c7f0ea
I think that for the left-hand binds, it's best to
spread out binds and not use shift.

For right-handed people, most of which prefer right shift,
it is much easier to mod+shift with the right hand than left.
2020-05-03 16:04:33 -04:00
Luke Smith
6f00f18d91
dwm.png rm'd, me added to lic 2020-05-03 14:00:09 -04:00
Luke Smith
a956836fb0
use blue 2020-05-02 14:59:17 -04:00
Luke Smith
ee885abd89
causes fewer problems 2020-05-02 07:13:40 -04:00
Luke Smith
806bb2a2bf
expandible scratchpad patch
super+shift+return for dropdown terminal

super+' for dropdown calculator
2020-04-26 12:34:14 -04:00
Luke Smith
206a4a3833
super+shift+q runs sysact 2020-04-26 12:14:35 -04:00
Luke Smith
11160adf7b
old scratchpad patch removed 2020-04-26 11:58:11 -04:00
Luke Smith
18c6a63f86
Merge branch 'stuff' 2020-04-26 11:26:32 -04:00
Luke Smith
990e0239d1
Merge branch 'master' of github.com:LukeSmithxyz/dwm into HEAD 2020-04-26 11:21:21 -04:00
Luke Smith
d6dfa585fc
don't necessarily restart dwmblocks 2020-04-26 11:18:07 -04:00
Luke Smith
cbc2657c0f
gitignore 2020-04-26 11:17:38 -04:00
Luke Smith
a7d35a3a2b
big binds change 2020-04-26 11:16:15 -04:00
Luke Smith
87fac622d8
Merge pull request #42 from AlexSyssoyev/patch-1
Change bg address on xcompmgr toggle
2020-04-25 18:41:48 -04:00
Alexei Syssoyev
2ae2873772
Change bg address on xcompmgr toggle 2020-04-25 18:41:05 -03:00
bakkeby
f09418bbb6 dwm crashes when opening 50+ clients (tile layout)
Many users new to dwm find themselves caught out by being kicked out to the login manager (dwm crashing) when they open 50+ clients for demonstration purposes. The number of clients reported varies depending on the resolution of the monitor.

The cause of this is due to how the default tile layout calculates the height of the next client based on the position of the previous client. Because clients have a minimum size the (ty) position can exceed that of the window height, resulting in (m->wh - ty) becoming negative. The negative height stored as an unsigned int results in a very large height ultimately resulting in dwm crashing.

This patch adds safeguards to prevent the ty and my positions from exceeding that of the window height.
2020-04-25 13:31:02 +02:00
Chris Down
ed3ab6b4fc drawbar: Don't shadow sw global
This jarred me a bit while reading the code, since "sw" usually refers
to the global screen geometry, but in drawbar() only it refers to
text-related geometry. Renaming it makes it more obvious that these are
not related.
2020-04-22 20:33:39 +02:00
Chris Down
f087d20e6e getatomprop: Add forward declaration
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
2020-04-22 20:33:26 +02:00
Chris Down
a8e9513783 setmfact: Unify bounds for compile-time and runtime mfact
There are two places that mfact can be set:

- In the mfact global, which is defined at compile time and passed
  into m->mfact during monitor setup. No bounds checks are performed,
  but the comment alongside it says that valid values are [0.05..0.95]:

      static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */

- By setmfact, which adjusts m->mfact at runtime. It also does some
  minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside
  of that range are ignored, and mfact is not adjusted.

These different thresholds mean that one cannot setmfact 0.95 or 0.05,
despite the comment above that lists the legal range for mfact.

Clarify this by enforcing the same bounds in setmfact at runtime as
those listed for mfact at compile time.
2020-04-20 17:56:41 +02:00
Luke Smith
f14d957787
Merge pull request #36 from jlaw/patch-1
fix: Typo; -sb assigned the wrong color
2020-04-17 18:21:47 -04:00
Jackson Law
da11cd9176
fix: Typo; -sb assigned the wrong color 2020-04-17 14:38:36 -07:00
Luke Smith
f9a72ad45f
readme updates 2020-04-14 21:38:57 -04:00
Luke Smith
b004c08c26
old junk rmd 2020-04-14 21:22:35 -04:00
Luke Smith
9025265545
swallow patch 2020-04-14 21:20:23 -04:00
Luke Smith
dc2cfafa7e
Merge branch 'kronikpillow-master' 2020-04-14 20:51:11 -04:00
Luke Smith
73463070d7
Merge branch 'master' of https://github.com/kronikpillow/dwm into kronikpillow-master 2020-04-14 20:49:10 -04:00
Luke Smith
3e587d111d
bindings and documentation cleanup 2020-04-14 20:36:59 -04:00