a73de0cff4
added antoszka's viewprev patch with some minor modifications, restored Client->tags as Bool *, however kept the static initialization of ntags and seltags (prevtags) - this seems to be the best compromise
Anselm R. Garbe2007-10-10 18:39:28 +02:00
eeea4ef583
applied Brandon MacDone's static initialization patch for seltags and Client->tags
Anselm R. Garbe2007-10-06 19:43:15 +02:00
883e09b2eb
removing NULL-terminating **tags definition in config.h
Anselm R. Garbe2007-10-05 18:30:01 +02:00
3f3086f8b8
improved tile() for the RESIZEHINTS == True case, now more space is consumed by the clients (esp. if those clients use increment handling heavily)
Anselm R. Garbe2007-09-27 20:08:21 +02:00
17d39ee014
renamed config.h into config.def.h, config.h will be created if not present, this seems less annoying after all
Anselm R. Garbe2007-09-23 11:24:12 +02:00
8d1810c85b
introduced ISTILE, which can be easily extended with other layout functions to allow reuse of setmwfact() and zoom()
Anselm R. Garbe2007-09-22 21:55:19 +02:00
60444daa70
setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches
Anselm R. Garbe2007-09-22 21:34:06 +02:00
1fafcb1820
applied Peters patch, applied yiyus hint to initfont
arg@suckless.org2007-09-19 17:32:28 +02:00
08c2d92480
applied Peter Hartlich's togglemax patch to allow toggling tiled clients to maximum
Anselm R. Garbe2007-09-18 19:04:50 +02:00
fe2775a15b
made all stuff non-static - so you can choose wether to use dwm the static or the extern way when extending it
arg@suckless.org2007-09-17 16:42:37 +02:00
a026617c65
macros which have been defined in config.h can only be used at function level, however you can nest code into config.h now for implementing a different layout (just for example), eg. #include "supertile.c"
Anselm R. Garbe2007-09-16 10:23:53 +02:00
c4b3c0d979
using light colorscheme, preparing merge of config.arg.h with config.default.h
Anselm R. Garbe2007-09-11 20:16:16 +02:00
f3a5116248
I work with enabled RESIZEHINTS, simply because I force myself to continue the st development ;)
Anselm R. Garbe2007-09-09 18:31:19 +02:00
ae760f3f38
introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals
Anselm R. Garbe2007-09-09 18:28:39 +02:00
36672d0401
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Anselm R. Garbe2007-08-22 19:01:05 +02:00
55d8dda9f4
replaced static Layout *lt with static unsigned int sellayout... (will be adapted later when _DWM_CONFIG is serialized as root window property)
Anselm R. Garbe2007-08-17 21:19:07 +02:00
e40448fd63
fixed the issue observed by various people, that clients appeared on empty tags
Anselm R. Garbe2007-08-16 18:30:25 +02:00
10bc0ce912
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe2007-08-16 17:55:55 +02:00
77044e8765
made Layout a static struct in layout.c, added some convenience getters in layout.c, now lt->arrange accesses are not possible anymore, arrange() is the super-arrange function which sets up all layouts
Anselm R. Garbe2007-08-13 19:13:54 +02:00
2d81b78b85
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Anselm R. Garbe2007-08-11 12:11:50 +02:00
2cd1609770
removed spow(x, 0); calls, I did them for consistency's sake, but it should be rather obvious how the scaling works anyways
Anselm R. Garbe2007-08-05 16:00:08 +02:00
796925089c
changed shortcuts as described on the mailinglist, added sanity checks for ratios during tile (fallback to wah if clients would get too small), documented that new stuff/shortcuts in dwm(1)
Anselm R. Garbe2007-08-05 12:47:52 +02:00
4135e34dfa
I introduced {H,V}RATIO and inc{h,v,}ratio() functions - the default behaves like in dwm-4.3, config.arg.h shows how I prefer the ratio being handled (for the future I plan to change const char *arg into ..., and renaming Client into Win.)
Anselm R. Garbe2007-08-04 10:51:39 +02:00
e461e60997
implemented ratio tile as described on the mailinglist
Anselm R. Garbe2007-08-03 19:23:30 +02:00
28c10330bd
changed the fix of yesterday, the resize should only be necessary at manage() time, not on any unban()
Anselm R. Garbe2007-07-31 18:22:13 +02:00