Commit graph

243 commits

Author SHA1 Message Date
Anselm R. Garbe df9fd28f9a bugfix of transient handling 2007-02-19 15:57:08 +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 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 39ed54a468 simplified configurerequest to a bare minimum, removed wrong ban() calls 2007-02-19 11:34:12 +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 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 e256afe31e made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
Anselm R. Garbe 5052c538d9 making it more sure that transient checks will work in any case 2007-02-13 22:24:27 +01:00
Anselm R. Garbe 71857b87ee simplified configurerequest 2007-02-13 13:39:33 +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 44ef3f5a07 yet another fix 2007-02-06 15:29:19 +01:00
Anselm R. Garbe dafbd0dcb0 simplification 2007-02-06 15:28:25 +01:00
Anselm R. Garbe 2ddc78720a implemented aspect ratio support of windows 2007-02-06 15:22:13 +01:00
Anselm R. Garbe 7ece30ebc0 made some changes more concistent 2007-02-05 11:19:46 +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 2c1db7ed35 prepared yet another hotfix release 2007-01-25 09:59:48 +01:00
Anselm R. Garbe 1f18466409 applied offscreen appearance hotfix 2007-01-24 17:24:55 +01:00
Anselm R. Garbe 87836d79ef renamed activescreen into selscreen 2007-01-23 17:12:15 +01:00
Anselm R. Garbe c8a12a0852 implemented Sanders remarks 2007-01-23 13:10:35 +01:00
Anselm R. Garbe 71b84c2114 small changes 2007-01-23 12:29:17 +01:00
Anselm R. Garbe edb2660a2e removed a blank line 2007-01-23 12:04:22 +01:00
Anselm R. Garbe 17ec726b49 this version should also work with cornercases (like unmanage during !issel, etc.) 2007-01-23 12:00:49 +01:00
Anselm R. Garbe 373b11de11 I think this is the best solution of multihead support 2007-01-23 11:49:16 +01:00
Anselm R. Garbe fcd98308ba this variant is known to work, but focus() is ugly - we need in general a better way to handle multihead, this issel-stuff looks awkward (maybe it might be a good idea to set sel to NULL but to introduce a Client *revert which is set if a screen is unfocused, have to think about it further). 2007-01-22 10:35:58 +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 f8181f64e2 removed drawclient and drawall (they performed useless operations/consumed useless cpu cycles) 2007-01-15 12:04:25 +01:00
Anselm R. Garbe 6c5dc7017c removed client title bar 2007-01-14 22:27:29 +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 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 4ca3d861f0 disabling configure() during resize 2006-12-11 09:42:16 +01:00
arg@mig29 069e7a6e24 made gravitate effectless, waiting for complains ;) 2006-12-11 08:31:30 +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 91e569ca37 and another fix 2006-10-27 13:29:35 +02:00
arg@mig29 0f395c1b11 applied sanders try2 patch 2006-10-27 13:28:26 +02:00
arg@mig29 2b13e7466f applied sanders max size fix 2006-10-27 12:05:47 +02:00
arg@mig29 b93ebcf42f reverting to original 2006-10-26 15:41:40 +02:00
arg@mig29 2b7c275ce8 some other change 2006-10-26 15:26:17 +02:00
arg@mig29 040d0f48a0 apply small fix to prevent apps like mplayer wandering when toggling fullscreen 2006-10-26 15:05:45 +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 e0f64e63db applied ality's hardcode-0 patches 2006-09-29 18:21:02 +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 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 bda53ac6ad reviewed client.c 2006-09-20 09:53:21 +02:00
arg@mmvi 28aba061ec offscreen client appearance fixes 2006-09-15 10:54:32 +02:00
arg@mmvi 8e37c78ce3 focus() enforces visibility of a client if not NULL 2006-09-15 10:49:05 +02:00
Anselm R. Garbe ca65478c89 removed a bunch of lines through making function signatures more consistent with my style ( { does not belong to a new line, if function args are single-lined) 2006-09-12 10:57:28 +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 281f0981a6 added some comments 2006-09-11 07:40:41 +02:00
Anselm R. Garbe 0925dd588c applied sanders patch of not manipulating sel 2006-09-08 08:19:54 +02:00
Anselm R. Garbe 2e68f22118 hotfix 2006-09-07 18:13:19 +02:00
Anselm R. Garbe 8aa860d270 simplified unmanage 2006-09-07 18:12:40 +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 a33150eb4b no this is better 2006-09-06 15:36:42 +02:00
Anselm R. Garbe fd00b3a186 does this preserve z order for anthony? 2006-09-06 15:30:28 +02:00
Anselm R. Garbe e8389a4cc0 maybe this might work 2006-09-06 13:56:46 +02:00
Anselm R. Garbe 69b738c097 sanders solution is convincing and elegant 2006-09-06 11:54:16 +02:00
Anselm R. Garbe da0b2a2f31 seems to preserve floating client z-layer order (even with reorder() calls) 2006-09-06 11:46:35 +02:00
Anselm R. Garbe aaad7bfd15 moved transient_for tag inheritance to settags 2006-09-06 09:21:17 +02:00
Anselm R. Garbe 0915da8842 no, reodering floating clients definately breaks the manage() policy which attaches all clients zoomed (otherwise higher-weight clients couldn't be attached zoomed, which sucks) 2006-09-06 09:13:31 +02:00
Anselm R. Garbe 0d0e8bde13 no, ordering floating clients at the end seems better 2006-09-05 19:26:34 +02:00
Anselm R. Garbe f15f45a9f8 simplified manage 2006-09-04 17:39:33 +02:00
Anselm R. Garbe 95d8423823 hotfixing with sanders hint 2006-09-04 17:21:15 +02:00
Anselm R. Garbe e316cf53f6 fixing the issue that new clients appear lowered 2006-09-04 17:02:13 +02:00
Anselm R. Garbe 26157e6973 applied Sanders max_and_focus.patch 2006-09-04 08:55:49 +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 7b6d5ff298 removed crappy variables 2006-08-28 14:32:51 +02:00
Anselm R. Garbe 0a25fe9188 applied sanders focus_ patches 2006-08-28 08:06:50 +02:00
Anselm R. Garbe 7e597ae204 updated man page 2006-08-23 18:50:46 +02:00
Anselm R. Garbe aa13727067 separated several functions into view.c 2006-08-22 16:50:21 +02:00
arg@localhost.10kloc.org 950a1ab5af windows which have set transient_for hint inherit the transient_for window tags now 2006-08-21 17:35:37 +02:00
arg@localhost.10kloc.org 1b9fe55025 after switching to OpenBSD again, I switched back to a saner color scheme 2006-08-21 17:41:09 +02:00
Anselm R.Garbe 2272df9d31 applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new function names 2006-08-21 09:03:14 +02:00
Anselm R.Garbe 2eebebf262 applied Sanders patch 2006-08-18 13:40:34 +02:00
Anselm R.Garbe 8c1fffe106 made a new client position strategy similiar to that one proposed by Sander, but which takes top bar into account 2006-08-18 08:39:33 +02:00
Anselm R.Garbe 5e9acbc952 fixed a bug reported by sander 2006-08-17 10:06:36 +02:00
Anselm R.Garbe 0e1c649dca centering apps only if transient_for is not(!) set 2006-08-17 09:37:43 +02:00
Anselm R.Garbe 67c2124fa9 fixed issue Sander reported 2006-08-17 09:35:44 +02:00
Anselm R.Garbe b5c2412d84 condition was insufficient 2006-08-16 17:58:18 +02:00
Anselm R.Garbe ad2e77d635 fixed issue reported by sander 2006-08-16 17:56:04 +02:00
Anselm R.Garbe a20b10d01f added general centralization rule for new clients (works around various borken apps) 2006-08-16 15:57:36 +02:00
Anselm R.Garbe ee31e38dc7 removed NUMLOCKMASK, added dynamically calculated numlockmask instead 2006-08-14 19:18:02 +02:00
Anselm R.Garbe 4ad20ffc2c fixed 2006-08-14 17:48:54 +02:00
Anselm R.Garbe 666fae97e6 added some flicker prevention 2006-08-14 16:37:55 +02:00
Anselm R.Garbe 2c0d1cc87b fixed a core dump 2006-08-14 10:49:22 +02:00
Anselm R.Garbe d4b7a9a373 implemented restack behavior (floats are on top in tiled mode) 2006-08-14 10:18:24 +02:00
Anselm R.Garbe d7413ffd2d implement multi-tag selection through button3 click on the specific tag 2006-08-11 18:37:41 +02:00
Anselm R.Garbe 895902b57a applied Sander's patch as well 2006-08-11 10:05:53 +02:00
Anselm R.Garbe d3969634ac simplified unmanage 2006-08-11 08:47:55 +02:00