Commit Graph

213 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
6ee9f13457 fixing missing extern declars in dwm.h for {de,at}tach() 2007-02-22 08:02:04 +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
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
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
ad4962c7eb fixed quoting and a comment 2007-02-21 11:04:33 +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
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
Anselm R. Garbe
879241c05c replaced togglelayout with setlayout 2007-02-19 18:33:15 +01:00
Anselm R. Garbe
5a03daf47f renamed Client->versatile and Rule->versatile into Client->isversatile resp. Rule->isversatile 2007-02-19 17:18:24 +01:00
Anselm R. Garbe
6d5f67a092 renames swim[ming] into versatile 2007-02-19 17:12:26 +01:00
Anselm R. Garbe
cee56d3863 renamed floating into swimming (this does not clash with C naming conventions and fits better the fish symbol) - also in man page 2007-02-19 17:00:32 +01:00
Anselm R. Garbe
cdbc84b9a8 introduced Layout struct 2007-02-19 16:40:36 +01:00
Anselm R. Garbe
ebe68f650a forgot an extern declaration 2007-02-19 16:04:38 +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
238dd5d2b1 renamed view.c into screen.c 2007-02-19 15:05:29 +01:00
Anselm R. Garbe
64871a7045 renamed manage.c to view.c 2007-02-19 14:57:32 +01:00
Anselm R. Garbe
4cdbd523e5 merged tag.c, view.c and tile.c to manage.c 2007-02-19 14:44:05 +01:00
Anselm R. Garbe
b3d7e07f18 some more refactoring 2007-02-19 13:53:40 +01:00
Anselm R. Garbe
30af19d442 added some new convenience functions 2007-02-19 13:42:39 +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
8a5f002c41 removed getnext/getprev, redundant 2007-02-16 10:20:34 +01:00
Anselm R. Garbe
3ce8c9f338 added ban() which takes care than a banned window is not banned again... (this reduces the overall ConfigureNotify's to clients) 2007-02-14 14:01:12 +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
2ddc78720a implemented aspect ratio support of windows 2007-02-06 15:22:13 +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
caf5a16271 moved BORDERPX to config.*.h 2007-01-17 12:36:29 +01:00
Anselm R. Garbe
9715ba82aa removed erealloc (not used) 2007-01-16 11:35:56 +01:00
Anselm R. Garbe
3c35b90dd3 removed unnecessary bx, by, bw variables 2007-01-16 11:33:42 +01:00
Anselm R. Garbe
f8181f64e2 removed drawclient and drawall (they performed useless operations/consumed useless cpu cycles) 2007-01-15 12:04:25 +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
6c5dc7017c removed client title bar 2007-01-14 22:27:29 +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
Anselm R. Garbe
d7ec23a5db fixed comment of drawclient() 2007-01-04 16:45:28 +01:00
Anselm R. Garbe
184471b4bb renamed drawtitle into drawclient 2007-01-04 14:17:25 +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
9056d7ea88 changed comment of updatesizehints 2007-01-02 12:28:02 +01:00
arg@mig29
ebd17e4827 renamed updatesize into updatesizehints (thx to Sander for this hint) 2007-01-01 19:10:31 +01:00
arg@mig29
ded60365d4 removed Client->grav 2006-12-12 19:14:38 +01:00
arg@mig29
629647dfee removed gravitate for the moment 2006-12-11 16:45:02 +01:00
arg@mig29
89e1acb0bb removed viewall signature from dwm.h 2006-11-30 17:01:39 +01:00
arg@mig29
8dc86051df added man page entry 2006-11-27 11:05:47 +01:00
arg@mig29
46d5f9d1bf added togglefloat to hg tip (i consider this useful for some cases), using MODKEY-Shift-space as shortcut 2006-11-27 10:57:37 +01:00
arg@mig29
321e8d51ed fififif 2006-11-22 16:17:50 +01:00
arg@mig29
b003a35fde applied Gottox' windowarea patch 2006-11-16 14:40:57 +01:00
arg@mig29
4b5b3d90af renamed resizecol into resizemaster 2006-10-31 12:07:32 +01:00
arg@mig29
0f395c1b11 applied sanders try2 patch 2006-10-27 13:28:26 +02:00
Anselm R. Garbe
d7734f996f moved MOUSEMASK into event.c (not used in other places) 2006-10-16 16:50:03 +02:00
Anselm R. Garbe
5983c00b95 do* has no Arg arument anymore (never called directly) 2006-10-06 13:06:37 +02: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
0ef6e3103c simplified dotile() 2006-10-05 12:13:24 +02:00
Anselm R. Garbe
010fd21b20 removed useless updatemaster 2006-09-29 17:25:49 +02:00
Anselm R. Garbe
36178933ed removed the direction flipping 2006-09-29 17:02:56 +02:00
Anselm R. Garbe
fee8df6ccf added the new dotile as described on ml 2006-09-29 16:22:20 +02:00
Anselm R. Garbe
8fa47ac679 prelim of dotile() 2006-09-29 14:39:03 +02:00
Anselm R. Garbe
14d05e7c72 first step to a more flexible dotile() algorithm 2006-09-29 12:38:27 +02:00
Anselm R. Garbe
1c2d673ded applied Jukkas patch 2006-09-28 14:03:39 +02:00
Anselm R. Garbe
6092aa977e fixing the settags issue, preparing 1.7.1 2006-09-27 17:18:46 +02:00
arg@mmvi
b4d53bf194 added configure(), but this doesn't really fix those frking broken SDL apps 2006-09-26 07:40:19 +02:00
arg@mmvi
7d7cde0fd6 applied sanders jukka patch 2006-09-25 20:38:30 +02:00
arg@mmvi
6b25d06d7d applied Jukkas patch 2006-09-25 08:21:51 +02:00
arg@mmvi
346bdea946 small change to achieve Jukka's last proposal 2006-09-22 13:53:28 +02:00
arg@mmvi
05c10c5776 fixed issue pointed out by Jukka 2006-09-22 11:49:24 +02:00
arg@mmvi
d800ec05ff implemented the maximization as I described on the mailinglist, this feels better to me. 2006-09-22 07:37:56 +02:00
arg@mmvi
886b2088f1 improved intro comment in dwm.h, updated config.mk 2006-09-20 09:40:35 +02:00
arg@mmvi
551d6bb23d some simplifications to intro in dwm.h 2006-09-19 16:13:44 +02:00
Anselm R. Garbe
a1e9362d38 some more simplifications of intro comment in dwm.h, this should suffice for comments in dwm 2006-09-12 09:50:06 +02:00
Anselm R. Garbe
cbfc69e310 made introduction comment in dwm.h shorter 2006-09-12 09:46:19 +02:00
Anselm R. Garbe
e6cc22396a added a general comment to dwm.h how dwm is basically organized 2006-09-12 08:14:22 +02:00
Anselm R. Garbe
868159fd0a some other simplifications 2006-09-11 17:31:21 +02:00
Anselm R. Garbe
d2d394eccf small change to comments, renamed two set* functions in client.c into update* 2006-09-11 10:00:56 +02:00
Anselm R. Garbe
438beeabde small fix 2006-09-11 08:58:58 +02:00
Anselm R. Garbe
281f0981a6 added some comments 2006-09-11 07:40:41 +02:00
Anselm R. Garbe
15abade272 using a global stack for focus recovery on arrange() - seems to work great 2006-09-07 17:53:40 +02:00
Anselm R. Garbe
aaad7bfd15 moved transient_for tag inheritance to settags 2006-09-06 09:21:17 +02:00
Anselm R. Garbe
3a1343a245 renamed resizetile into resizecol 2006-09-05 13:52:23 +02:00
Anselm R. Garbe
40bd21ce63 s/growcol/resizetile/g 2006-09-05 13:25:42 +02:00
Anselm R. Garbe
6499fc4f93 I really need column growing, now pushing upstream 2006-09-05 09:02:37 +02:00
Anselm R. Garbe
26157e6973 applied Sanders max_and_focus.patch 2006-09-04 08:55:49 +02:00
Anselm R. Garbe
daae3bba50 added viewall to mainstream (only Ross Mohns version, not the toggle) 2006-08-31 18:02:38 +02:00
Anselm R. Garbe
9d73909075 still something wrong with reorder() 2006-08-29 13:40:09 +02:00
Anselm R. Garbe
8a6679b3b4 added attach/detach functions which don't attach at the begin of list, but at the slot of a first match of the tags of a client 2006-08-29 09:23:44 +02:00
Anselm R. Garbe
e995c1b532 trying a different configuration 2006-08-25 15:48:44 +02:00
Anselm R. Garbe
b55bd709ee new color stuff/new rendering stuff 2006-08-25 12:59:45 +02:00
Anselm R. Garbe
9833610356 back to 3 colors 2006-08-25 07:54:49 +02:00
Anselm R. Garbe
2e0c767d74 3->4 colors 2006-08-24 12:04:56 +02:00
Anselm R. Garbe
7e597ae204 updated man page 2006-08-23 18:50:46 +02:00