Commit Graph

148 Commits

Author SHA1 Message Date
Anselm R. Garbe a798042a6c fixed fullscreen issues in acroread, mplayer (if floating) 2006-04-24 18:23:06 +02:00
Anselm R. Garbe d9e811ec0c finished scaling separation from arrange_* functions 2006-04-24 17:39:58 +02:00
Anselm R. Garbe 4296b31b3c changed arrange_view signature 2006-04-24 17:19:50 +02:00
Anselm R. Garbe df251f992d separated scaling stuff from arrange_column to scale_column (next is with views) 2006-04-24 16:54:56 +02:00
Anselm R. Garbe 01db208f43 changed UTF8 stuff somewhat 2006-04-24 16:03:37 +02:00
Sander van Dijk e1a5370c53 another small fix in create_area 2006-04-15 00:30:49 +00:00
Sander van Dijk 2b2dfb9fd3 oops... 2006-04-15 00:08:26 +00:00
Sander van Dijk fe24755f00 small fix in create_area 2006-04-15 00:05:34 +00:00
Anselm R. Garbe ca7547d056 implemented /def/colwidth (takes 0 for default scaling, or a px value for a specific size, ie 500 seems fine for 1400x1050 screens) 2006-04-14 12:45:53 +02:00
Anselm R. Garbe 391f88e730 implemented /def/colmode containing the default column mode 2006-04-14 12:03:44 +02:00
Anselm R. Garbe 7819b86861 fixed negative (x,y) issue in place_client 2006-04-14 11:50:20 +02:00
Anselm R. Garbe 37f8da2353 made place_client more robust against clients with obfuscated sizes 2006-04-14 11:35:42 +02:00
Anselm R. Garbe 9f8279aa6b made floating placement much better (best fit strategy first, random x/y strategy if no best fit found) 2006-04-14 09:34:03 +02:00
Sander van Dijk 20431e4bc1 disallow the creation of new columns if the amount of columns on screen is width/mincolwidth; next up is respecting mincolwidth in the scaling mechanism 2006-04-13 20:44:31 +00:00
Anselm R. Garbe fe500a8cd2 some more polishing 2006-04-13 15:35:10 +02:00
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