Commit Graph

131 Commits

Author SHA1 Message Date
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 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 b3b58c08e4 just ignore the FD_ISSET check in main.c of xfd, just call XPending (which does the same afair) 2007-02-21 21:36:54 +01:00
Anselm R. Garbe 74cbbe5f35 reverted accidental removal of sx, sy 2007-02-21 11:49:06 +01:00
Anselm R. Garbe 52f0b9e2e3 removed some global vars which should be static instead 2007-02-21 11:45:51 +01:00
Anselm R. Garbe d180ba418c renamed setfont to initfont, getcolor to initcolor 2007-02-20 13:56:21 +01:00
Anselm R. Garbe e7508783e8 added draw.c again (except getcolor and setfont which are helpers in main.c) 2007-02-20 13:46:21 +01:00
Anselm R. Garbe f4d15b1fec separating drawsquare from drawtext, made drawtext extern 2007-02-20 13:40:31 +01:00
Anselm R. Garbe 6bc4556ebd using eprint instead of fputs 2007-02-19 21:17:54 +01:00
Anselm R. Garbe cdbc84b9a8 introduced Layout struct 2007-02-19 16:40:36 +01:00
Anselm R. Garbe e9c49ddd7a removed procevent, more refactoring 2007-02-19 15:23:35 +01:00
Anselm R. Garbe f8415019d4 draw.c is useless (belongs to main.c now) 2007-02-19 15:17:31 +01:00
Anselm R. Garbe 5d9146ff37 some more refactoring 2007-02-19 13:17:49 +01:00
Anselm R. Garbe 5cc27f1b3c introduced tile.c, some refactoring of functions 2007-02-19 13:00:29 +01:00
Anselm R. Garbe 6e22ccf7b1 removed ugly ban(), extended resize() that it only resets the size if necessary, added border_width commit to manage() 2007-02-16 16:38:40 +01:00
Anselm R. Garbe e256afe31e made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
Anselm R. Garbe fd995dac78 pneubeck pointed out an obvious thing, that a second p = stext + strlen(stext) - 1 is unnecessary 2007-02-09 14:56:19 +01:00
Anselm R. Garbe e39e697998 fixed order of Bool declarations 2007-02-08 13:39:33 +01:00
Anselm R. Garbe d2dd58eabd added TOPBAR option for making the bar appear what the user likes 2007-02-08 11:48:01 +01:00
Anselm R. Garbe 4590d7877c making the bar appear at bottom 2007-02-08 11:08:40 +01:00
Anselm R. Garbe 28ffff801b replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;) 2007-02-07 12:37:06 +01:00
Anselm R. Garbe a5cb80b86c handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle this in dwm as well 2007-01-28 20:29:41 +01:00
Anselm R. Garbe 87836d79ef renamed activescreen into selscreen 2007-01-23 17:12:15 +01:00
Anselm R. Garbe 71b84c2114 small changes 2007-01-23 12:29:17 +01:00
Anselm R. Garbe b233089815 applied Sanders all5.patch (thanks for your weekend session, Sander!) 2007-01-22 10:22:58 +01:00
Anselm R. Garbe 3c35b90dd3 removed unnecessary bx, by, bw variables 2007-01-16 11:33:42 +01:00
Anselm R. Garbe 0045ad87df implemented new color scheme accordingly to Sanders proposal 2007-01-14 22:37:34 +01:00
Anselm R. Garbe ceea528eff removed mode label stuff 2007-01-14 22:32:26 +01:00
Anselm R. Garbe a24a6701c8 small fix of initial numlockmask value 2007-01-11 15:51:15 +01:00
Anselm R. Garbe 5a5851bac2 reorganized 2007-01-08 17:36:56 +01:00
Anselm R. Garbe 1d4a24dae0 implemented nmaster appearance in mode label (using %u) 2007-01-08 17:33:24 +01:00
Anselm R. Garbe 0b80d1842d experimental version which allows master clients being increased/decreased 2007-01-05 12:50:39 +01:00
arg@mig29 6a9300e815 changed arg's color scheme 2007-01-02 16:25:01 +01:00
arg@mig29 ac24f132db corrections 2007-01-02 15:44:19 +01:00
arg@mig29 cb4aa5bc35 next version will contain updated copyright notice 2007-01-02 15:37:58 +01:00
arg@mig29 b5d297f02f fixed cleanup, using clients instead of sel 2007-01-02 14:40:18 +01:00
arg@mig29 d42c3ba2dc with this patch everything works fine for me 2006-12-07 10:02:46 +01:00
arg@mig29 6b345353e3 improved the memory leak prevention 2006-12-06 11:19:06 +01:00
arg@mig29 35e96b8deb applied Jukka's patch preventing some cornercases and making the EOF error message correct 2006-11-27 10:29:47 +01:00
arg@mig29 2210ea7e3b applied yet another proposal of Manuel 2006-11-26 15:43:16 +01:00
arg@mig29 61a1910f91 applied Jukka's sizeof K&R compliance patch, applied Manuels' last-line printage proposal for stdin reading. 2006-11-26 14:26:53 +01:00
arg@mig29 27ef73507b applied Jukka's stdinread patch 2006-11-26 13:31:36 +01:00
arg@mig29 478f6f95f1 applied Manuels patch (thanks to Manuel!) 2006-11-25 19:26:16 +01:00
arg@mig29 931e712eac applied Gottox patches 2006-11-21 14:49:13 +01:00
arg@mig29 b003a35fde applied Gottox' windowarea patch 2006-11-16 14:40:57 +01:00
Anselm R. Garbe 6651dd7fd9 code polishing, removed unnecessary newlines 2006-10-06 11:50:15 +02:00
Anselm R. Garbe 10885d349a removed the stack position stuff 2006-10-05 19:27:28 +02:00
Anselm R. Garbe 6fc8a63041 keep master ratio on resizecol -> arrange 2006-10-05 12:59:35 +02:00
Anselm R. Garbe dddd58a8cd added symbols for different modes 2006-09-29 18:08:20 +02:00
Anselm R. Garbe 010fd21b20 removed useless updatemaster 2006-09-29 17:25:49 +02:00