120 Commits

Author SHA1 Message Date
Anselm R. Garbe
6bb011dc1e sanitized float handling, '~' is only used in /def/rules now, nowhere else and skipped explicitly as tag, Client struct contains a floating flag now (if set, the client will be floating in all views), added [n] suffix to view labels of the bar (does not occur in tags which have not yet been selected, thus no view) showing the focused area of the specific view 2006-03-31 07:57:33 +02:00
Sander van Dijk
4c995b2911 small drop_resize change, handle a cornercase nicer 2006-03-28 20:17:44 +02:00
Sander van Dijk
353a8103bb make vertical colresize more failsafe, fix some vertical wandering 2006-03-27 22:04:38 +02:00
Anselm R. Garbe
fcedcdcafd replaced exclusive flag with swap ($MODKEY-Shift-{h,j,k,l}) 2006-03-27 09:38:41 +02:00
Anselm R. Garbe
c946b86cdf re-applying Sanders patches which I accidently overwrote 2006-03-27 09:01:05 +02:00
Anselm R. Garbe
6ce7eb4337 exclusive mode of columns done with $MODKEY-x 2006-03-27 08:38:17 +02:00
Anselm R. Garbe
5e43254a12 removed capacity (doing that as exclusive mode is saner) 2006-03-27 07:46:12 +02:00
Anselm R. Garbe
b42643433e added /view/X/capacity (though some corner cases might crash the wm if you use it) 2006-03-27 07:17:47 +02:00
Sander van Dijk
c7cba3c123 make drop_resize more reliable in cornercases. 2006-03-26 22:13:35 +02:00
Sander van Dijk
9d96bc2fe6 introduce a min_colwidth (32 pix for now), limit the amount of columns to screenwidth/(2*min_colwidth) 2006-03-23 21:39:02 +01:00
Anthony Martin
5cee0164e6 removed trailing whitespace in *.c, code cleanup finished 2006-03-23 07:12:06 -08:00
Anselm R. Garbe
a0c4b1b908 fixed small issues in area.c 2006-03-23 15:58:36 +01:00
Anselm R. Garbe
b248569f4d renamed several _tag functions into _view where it makes sense 2006-03-23 10:43:57 +01:00
Anselm R. Garbe
04bba2a6c4 separated tag.c into tag.c and view.c, renamed Tag to View, still some parts to be adapted 2006-03-23 10:36:51 +01:00
Anthony Martin
f0c75feab7 cleaned up code formatting in area.c 2006-03-22 14:16:23 -08:00
Sander van Dijk
c0e7213544 fix a small Alt-space issue (stricter checking needed for the case where both the selected area and t->revert were 0) 2006-03-22 22:34:48 +01:00
Sander van Dijk
5009939793 fix wandering of non-edge columns too. 2006-03-19 22:50:49 +01:00
Sander van Dijk
b87d293483 I believe this is a better solution to the inc-related wandering after all... 2006-03-19 22:15:08 +01:00
Sander van Dijk
d60c33a728 sorry, this is what the previous patch should have looked like... 2006-03-19 20:16:46 +01:00
Sander van Dijk
ed3fe6663a prevent columns from wandering off of the screen due to inc-handling
(because a->rect.x != f->rect.x and a->rect.width != f->rect.width)
2006-03-19 20:07:02 +01:00
Sander van Dijk
eee799a3a7 small addition to earlier resize fixes 2006-03-19 19:20:07 +01:00
Sander van Dijk
5c67ada11f small fix for select prev/next area 2006-03-18 17:24:02 +01:00
Sander van Dijk
970db324b9 some more colresize fixes... 2006-03-17 22:28:46 +01:00
Sander van Dijk
77409a5bb4 whoops... 2006-03-17 21:59:27 +01:00
Sander van Dijk
bc8475d68f another colresize fix, working around a signed/unsigned comparison without a typecast 2006-03-17 21:42:32 +01:00
Sander van Dijk
71f5caad37 forbid manual vertical resizing when in Colstack or Colmax (this is wmii's job) 2006-03-16 18:58:52 +01:00
Anselm R. Garbe
7ea3975973 applied Sanders patch to deny annoying resize artifacts with some minor changes 2006-03-16 09:13:14 +01:00
Anselm R. Garbe
f4908e70a2 changed two important things, first on update_tags clients should be attached at least to the selected tag (that the specific frame is most recent, this is much more efficient, second fixed arrange_tag call if a floating client gets detached) 2006-03-16 07:33:25 +01:00
Anselm R. Garbe
2851ce5b02 fixed cyclic calls of resize_client because it called resize_area (this is only called explicitely now) 2006-03-15 16:00:39 +01:00
Anselm R. Garbe
42aa2cec38 fixed issue in relax_area reported by Sander 2006-03-13 08:22:21 +01:00
Anselm R. Garbe
0bbae7dd43 fallback handling to max mode also in relax_area 2006-03-12 11:00:39 +01:00
Anselm R. Garbe
23d83405b6 added fallback for stacking/equal mode if too many clients in a column, then max mode is used (without lossing that we're in equal/stacking mode), allowing writes to /event which are broadcasted to all reading consumers 2006-03-12 10:51:12 +01:00
Anselm R. Garbe
c0cf389d84 fixed column layout obscuring on running wmiirc again 2006-03-11 21:48:02 +01:00
Anselm R. Garbe
e5ea2fb4fd corrected order of t->sel = i; in select_area, needs to be after focus_client, otherwise old-grabbing won't work 2006-03-11 21:13:44 +01:00
Anselm R. Garbe
c66a1f9261 draw_client issues should also be done for all other cases ;) 2006-03-11 20:59:40 +01:00
Anselm R. Garbe
22387a5392 improved draw_client stuff (if area 0 is selected and empty, prev area should not indicate any highlight) 2006-03-11 20:58:08 +01:00
Anselm R. Garbe
055fc504d7 implemented reverting memory for toggle stuff between floating/managed area 2006-03-11 20:50:53 +01:00
Anselm R. Garbe
f4db0019b2 $MODKEY-space is toggle between floating and managed mode, $MODKEY-Shift-space is 'sendto toggle' 2006-03-11 20:37:29 +01:00
Sander van Dijk
32e9238c9a prevent crash on 'sel prev area' when in area 0 2006-03-11 19:56:37 +01:00
Anselm R. Garbe
34720c3c0e fixed resize issue in topmost client of a column 2006-03-09 22:47:22 +01:00
Anselm R. Garbe
ae04939f77 if last managed client is destroyed, but floating clients still exist, the focused layer is selected implicitely 2006-03-09 12:44:38 +01:00
Anselm R. Garbe
e2298f7187 added Gimp and xmms as default broken apps to wmiirc, allowing ~-only in /def/class indicating that the client is handled as floating client, regardless the tag 2006-03-09 12:22:53 +01:00
Anselm R. Garbe
28e98219e0 fixed a bug which caused that arrange_area() worked on floating layout 2006-03-09 11:42:32 +01:00
Anselm R. Garbe
08f98bc26b tagging events: NT <tag> is written if a new tag appears in /tags, RT <tag> is written if a tag disappeared in /tags 2006-03-09 00:27:12 +01:00
Anselm R. Garbe
fd9dbf43e0 fixed annoying area[0] removal on detach_fromarea 2006-03-08 23:58:21 +01:00
Anselm R. Garbe
f78cc72f3d fixed transient handling, fixed zombie frames 2006-03-08 23:53:52 +01:00
Anselm R. Garbe
dec16283d1 enabling tag inheritance from /class/class:instance definition 2006-03-08 22:41:45 +01:00
Anselm R. Garbe
a829af6746 renamed sendtoarea into sendto, fixed both bugs reported by bogon, added classinstance stuff to Client struct (also initialized in alloc_client()) 2006-03-08 16:05:09 +01:00
Anselm R. Garbe
f195ff6bdf proceeded with frames backref in Client struct 2006-03-06 23:55:47 +01:00
Anselm R. Garbe
5d513c7505 proceeded with detach_client fixes, still annoying 2006-03-06 18:34:57 +01:00