Commit graph

47 commits

Author SHA1 Message Date
Anselm R. Garbe 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 2007-08-11 12:11:50 +02:00
Anselm R. Garbe b5eea45a31 let not overlap the borders 2007-08-10 18:27:25 +02:00
Anselm R. Garbe aa53e39ec0 removed VRATIO, NMASTER, inc*(), renamed HRATIO into MASTER, see mailinglist for details 2007-08-10 18:16:05 +02:00
Anselm R. Garbe 2cd1609770 removed spow(x, 0); calls, I did them for consistency's sake, but it should be rather obvious how the scaling works anyways 2007-08-05 16:00:08 +02:00
Anselm R. Garbe 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) 2007-08-05 12:47:52 +02:00
Anselm R. Garbe da91dfc948 small fix of static function order 2007-08-04 10:57:56 +02:00
Anselm R. Garbe 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.) 2007-08-04 10:51:39 +02:00
Anselm R. Garbe 846128a498 removed a C++ style comment 2007-08-03 19:29:58 +02:00
Anselm R. Garbe e461e60997 implemented ratio tile as described on the mailinglist 2007-08-03 19:23:30 +02:00
Anselm R. Garbe c95bf3db9d applied restack patch of anydot, with slight changes 2007-06-06 11:43:14 +02:00
Anselm R. Garbe 83aa110c6f added an creatnotify event handler 2007-06-04 11:50:48 +02:00
Anselm R. Garbe 5a1a2edf0e applied anudots [un]ban repair patch 2007-06-04 11:37:33 +02:00
Anselm R. Garbe 141beb2704 replaced BORDERPX with sel->border in togglemax(), in other places this is not possible. 2007-05-30 20:49:38 +02:00
Anselm R. Garbe 2c6be7239f referred to LICENSE file 2007-05-30 12:19:28 +02:00
Anselm R. Garbe d934296476 Jukka also belongs to Copyright holders after all he has contributed and done for dwm, updated -v as well 2007-05-30 12:10:01 +02:00
Anselm R. Garbe 9fdd2cd1a9 added nsz to copyright holders as well, because he did a lot recently 2007-05-29 11:57:08 +02:00
Anselm R. Garbe e1deda9e04 added anydot to Copyright holders, because he contributed a lot recently 2007-05-29 11:47:55 +02:00
Anselm R. Garbe 199a601611 applied anydot's 3 minor patches, thank you anydot 2007-05-29 11:35:20 +02:00
Anselm R. Garbe f3e672efd8 fix if n < nmaster of remainer calculation for master windows 2007-05-24 16:25:09 +02:00
Anselm R. Garbe e45b3ced67 calculating the remainder for master and stack area correctly 2007-05-24 15:40:07 +02:00
Anselm R. Garbe 8439369db9 applied Szabolcs proposal for zoom() as well 2007-05-22 11:29:59 +02:00
Anselm R. Garbe 81658eaab3 applied Szabolcs proposal to simplify setlayout() 2007-05-22 11:29:04 +02:00
Anselm R. Garbe fa32f02a43 no that change breaks fullscreen apps 2007-05-16 22:05:02 +02:00
Anselm R. Garbe 598e22907e raise barwin in restack, that's the most elegant solution I think 2007-05-16 21:59:53 +02:00
Anselm R. Garbe 1e826ddd3e simplification 2007-05-15 14:06:18 +02:00
Anselm R. Garbe 5ad2828c57 using BarTop as fallback if BARPOS is set to BarOff as default for toggling 2007-05-15 13:49:43 +02:00
Anselm R. Garbe 37e062b0ed another fix, call lt->arrange() in togglebar only 2007-05-15 13:36:04 +02:00
Anselm R. Garbe 2aef8b9b4c made bar togglalble 2007-05-15 12:09:18 +02:00
Anselm R. Garbe ab3d6a7dfe applied dfenze cleanups, fixed some comments in dwm.h 2007-05-14 11:54:30 +02:00
Anselm R. Garbe f7bdb39d9e s/remain/remainder/ 2007-05-09 10:12:55 +02:00
Anselm R. Garbe ecd9c3e222 fixing remaining space calculation 2007-05-09 10:11:34 +02:00
Anselm R. Garbe f9e7a33019 applied patch of Paul Liu to allow onthefly resizing due to xrandr changes 2007-05-07 13:12:41 +02:00
Anselm R. Garbe 464fc2cd18 changed border handling 2007-04-17 14:56:46 +02:00
Anselm R. Garbe a730213c3b yet another fix of copyright compactisition 2007-04-13 11:40:09 +02:00
Anselm R. Garbe 399993c6b5 making Copyright notices more compact 2007-04-13 11:32:38 +02:00
Anselm R. Garbe 338c083858 renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me 2007-02-22 22:10:16 +01:00
Anselm R. Garbe 5a13632afb simplified focusclient() 2007-02-22 17:51:34 +01:00
Anselm R. Garbe 587100873a renamed versatile into untiled 2007-02-22 17:43:41 +01:00
Anselm R. Garbe 27b0595af7 merged focus{prev.next} into focusclient(1/-1) 2007-02-22 15:25:19 +01:00
Anselm R. Garbe 5711609203 small bugfix 2007-02-22 12:15:48 +01:00
Anselm R. Garbe 825b7c3eb1 fixed some issues due to the Arg->const char * transition 2007-02-22 12:00:02 +01:00
Anselm R. Garbe 2c477cf661 replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places 2007-02-22 11:42:08 +01:00
Anselm R. Garbe 4bd4f421d3 status needs update even in togglemax() - since we got an indicator for this 2007-02-22 10:59:42 +01:00
Anselm R. Garbe 92105e7862 fixed exit condition in togglemax() 2007-02-22 08:08:36 +01:00
Anselm R. Garbe 352cae4380 several changes, made togglemax extern and separated it from zoom() - moved zoom() and togglemax() into layout.c, changed void (*func)(Arg *) into void (*func)(Arg), changed default keybindings of focusnext/focusprev and incmasterw to h/j/k/l accordingly, made keys in config*h appear alphabetically (special keys first), renamed resizemaster into incmasterw, renamed MASTER into MASTERWIDTH 2007-02-22 07:59:13 +01:00
Anselm R. Garbe 29c26b88e7 moved focus{next,prev} and nexttiled from client.c to layout.c (because those are not client-specific), moved toggleversatile() from layout.c to client.c (because those are client-specific) 2007-02-21 11:39:57 +01:00
Anselm R. Garbe 8012fcf333 split screen.c into layout.c and tag.c (because the view is an implicit mixture of both) 2007-02-20 10:49:53 +01:00
Renamed from screen.c (Browse further)