183 Commits

Author SHA1 Message Date
Anselm R. Garbe
69ddb68f00 made cmd/wm code more concise 2006-04-12 10:44:07 +02:00
Sander van Dijk
325bd1be5e fixes the crash on M-S-space I was experiencing (checking order was wrong) 2006-04-11 20:33:09 +00:00
Sander van Dijk
2124079312 fix a small column scaling issue 2006-04-10 20:55:33 +00:00
Anselm R. Garbe
c087c64dd2 simplified tagging data structures internally, though not finished yet, don't use this exessively ;) 2006-04-10 17:43:13 +02:00
Anselm R. Garbe
5a6da3e7cf added intelligent placement for floating layer, changed Makefile as discussed with Maxi 2006-04-10 15:48:27 +02:00
Anselm R. Garbe
72c0efea9e removed /view/tag, removed -t argument, instead /def/rules is used. A new magic tag "!" keeps track of inheriting the selected view tag (/.*/ -> !), the first rule /.*/ -> 1 replaces the /view/tag default tag stuff (ex -t argument), writing "retag" to /ctl applies /def/rule to all existing clients, except the "!" handling 2006-04-10 10:58:21 +02:00
Anselm R. Garbe
5137f3e1a2 began to implement intelligent floating placement 2006-04-07 20:06:59 +02:00
Anselm R. Garbe
3e49d746e3 implemented horizontal scaling for columns 2006-04-07 16:50:08 +02:00
Anselm R. Garbe
8199524d26 renamed 'equal' mode into 'default' mode 2006-04-07 16:08:17 +02:00
Anselm R. Garbe
c94aff285c vertical scaling in 'equal' mode (will be called 'default' soon) for columns 2006-04-06 17:03:12 +02:00
Anselm R. Garbe
9ade67af99 removed view <tags>, instead view <tag>, removed ~ labelling of tag labels in the bar 2006-04-04 12:25:36 +02:00
Anselm R. Garbe
ede385c313 made the style more concise, s/evector_t/Vector/g, evector.c -> vector.c, s/foo_vec_t/FooVector/g, etc 2006-04-03 13:40:34 +02:00
Anselm R. Garbe
03cb248e71 applied the changes made by Icarus Sparry 2006-04-02 22:53:56 +02:00
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