Commit Graph

243 Commits

Author SHA1 Message Date
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
Anselm R.Garbe 735ca9ccd6 removed the if(clients) check from popping code 2006-08-11 08:34:42 +02:00
Anselm R.Garbe 9fce8215b7 applied Sanders zoom_update patch 2006-08-10 17:48:50 +02:00
Anselm R.Garbe 6521c2dd41 respecting inc hints in floating mode on togglemax 2006-08-10 17:33:11 +02:00
Anselm R.Garbe 9ee9ce7e14 reverting last patch, that sucks, I don't care about retarded apps like gvim 2006-08-10 16:37:13 +02:00
Anselm R.Garbe 9d39da6452 togglemax repects inc-hints (this way gvim can be toggle'maxed as well) 2006-08-10 16:35:36 +02:00
Anselm R.Garbe fde45ebed8 applied sumik's multihead patch 2006-08-10 11:26:32 +02:00
Anselm R.Garbe b79b5facb1 disallow zoom on maximized clients 2006-08-10 10:16:12 +02:00
Anselm R.Garbe c225e1afc2 removed NET_ACTIVE_WINDOW handling 2006-08-08 18:12:18 +02:00
Anselm R.Garbe 92e55c7c53 implemented NET_ACTIVE_WINDOW support 2006-08-08 17:08:45 +02:00
arg@10ksloc.org 525ef3c178 applied endless loop prevention on zoom() 2006-08-07 08:05:04 +02:00
arg@10ksloc.org f4208e7cac small fix of the last commit 2006-08-05 14:57:26 +02:00
arg@10ksloc.org ecc95c903b using -Os again, zoom is ignored in floating mode or on floating clients 2006-08-05 14:56:32 +02:00
arg@10ksloc.org a207949b65 mouse grab needs also to grab for combinations of numlock/lockmask 2006-08-05 14:02:25 +02:00
arg@10ksloc.org b35575574b removed TLast tag enum, now tags is simple defined as char *[] array, the rest is calculated correctly, rules take an int array for the tags 2006-08-03 12:12:26 +02:00
arg@10ksloc.org 8cc7f3bace changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum) 2006-08-03 10:55:07 +02:00
arg@10ksloc.org 95e8d12b71 made fullscreen apps working fine in floating mode (there is no sane way to make them work in tiled mode, thus I switch to floating mode if I run such kind of app), also fixed the xterm issue reported by Sander 2006-08-02 16:32:05 +02:00
arg@10ksloc.org a55f0e12fe new stuff 2006-08-02 13:05:04 +02:00
arg@10ksloc.org 1d85225952 implemented focus on enterwindow on titlebars 2006-08-02 11:28:27 +02:00
arg@10ksloc.org 57871415c1 reverting to old resize policy 2006-08-02 10:48:58 +02:00
arg@10ksloc.org 52021851d1 new resize stuff (using XConfigureWindow instead of XSendEvent) 2006-08-02 10:43:21 +02:00
arg@10ksloc.org 080a38d62d renamed WM_PROTOCOL_DELWIN into PROTODELWIN 2006-08-01 16:44:23 +02:00
arg@10ksloc.org d9a6a3b5d2 removed artefacts of single-linked list (thanx to Jukka, I must have been mad) 2006-08-01 16:14:17 +02:00
arg@10ksloc.org 77f8c075c4 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers) 2006-08-01 14:46:01 +02:00
arg@10ksloc.org 7b5638f61d applied Sanders patches 2006-08-01 12:32:33 +02:00
arg@10ksloc.org 937cabfa0a committed a patch which fixes the hints of Jukka 2006-08-01 11:49:19 +02:00
arg@10ksloc.org cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 2006-07-21 07:37:52 +02:00
arg@10ksloc.org 04eb016e78 applied sanders no_sizehints for tiled mode patch (thx!) 2006-07-20 19:09:11 +02:00
arg@10ksloc.org 0a4342098b serious mistake in pop() (forgot to set c->prev to NULL on pop) 2006-07-20 18:23:43 +02:00
arg@10ksloc.org 72707c2fae using double-linked list in order to get correct prev focus handling 2006-07-20 16:54:20 +02:00
arg@10ksloc.org 4688ad181d made status bar drawing more robust, implemented togglemax and togglemode, works quite well 2006-07-20 15:07:35 +02:00
arg@10ksloc.org dc5d967ee6 cleaned up code 2006-07-20 12:18:06 +02:00
arg@10ksloc.org 11737233a7 removed c->f{x,y,w,h} and c->t{x,y,w,h} in favor for the new rule handling remembering two kinds of geometries is unnecessary, removed the randomized (x,y) setting on dofloat startup, was kind too random und unpredictable 2006-07-20 07:26:23 +02:00
arg@10ksloc.org bcaf6a7a0f implemented regexp matching for rules 2006-07-19 17:42:08 +02:00
arg@10ksloc.org f95eed34b4 applied Jukka's patch with s/ModKeyMask/MODKEY/g 2006-07-19 16:38:39 +02:00
arg@10ksloc.org 4491bdda69 fixed the bug mentioned by Sander 2006-07-19 14:11:27 +02:00
arg@10ksloc.org 8af1d97332 refactored Sanders code somewhat 2006-07-19 13:52:31 +02:00
arg@10ksloc.org 79cd408844 implemented fallback for too many clients in stacked mode 2006-07-19 13:36:04 +02:00
arg@10ksloc.org 18be893b66 and another fix... 2006-07-19 13:30:18 +02:00
arg@10ksloc.org 0fb1842fd0 yet another typo fix 2006-07-19 13:29:45 +02:00
arg@10ksloc.org f522930a99 fixed a typo 2006-07-19 13:24:58 +02:00
arg@10ksloc.org aebd745f72 floating clients get random (x,y) offsets now 2006-07-19 13:22:49 +02:00
arg@10ksloc.org c53980cddc applied Sanders resize patch, fixed lower bug 2006-07-19 11:31:04 +02:00
Anselm R. Garbe 58f2fe3f6a implemened distinguishing float/managed geometries of clients (works quite well) 2006-07-18 12:36:57 +02:00
Anselm R. Garbe 0aaa9a21f3 pop on heretag 2006-07-18 11:45:32 +02:00
Anselm R. Garbe 4f8b08d330 added heretag command which allows to tag a client of a foreign tag with current tag 2006-07-18 11:38:31 +02:00
Anselm R. Garbe 94f7c2707b another XSync 2006-07-16 12:29:50 +02:00
Anselm R. Garbe 901b3ed9b7 several additions in mouse handling ;) 2006-07-16 00:47:40 +02:00
Anselm R. Garbe e6cbe9c11e fixed XSync handling and finished man page 2006-07-15 18:51:44 +02:00
Anselm R. Garbe c09bf8da07 sanitized other stuff 2006-07-15 17:19:19 +02:00
Anselm R. Garbe adaa28a6e6 proceeded with cleaning up, sorting functions, etc 2006-07-15 17:00:56 +02:00
Anselm R. Garbe dba23062ba rearranged several stuff 2006-07-15 16:30:50 +02:00
Anselm R. Garbe c0705eeb65 sanitized names 2006-07-14 22:54:09 +02:00
Anselm R. Garbe 29355bd382 rearranged 2006-07-14 22:33:38 +02:00
Anselm R. Garbe 54775e0b3e bar shows if currently is tiled (Mod1-space) or floating (Mod1-Shift-space) mode 2006-07-14 18:55:50 +02:00
Anselm R. Garbe 6797ff84ae fixed crash on zoom if only 1 client exists 2006-07-14 18:11:36 +02:00
Anselm R. Garbe e7fa504c3e removed a bunch of lines through swap removal 2006-07-14 17:43:56 +02:00
Anselm R. Garbe a1d0f81966 searching for a better way to discard enter notifies 2006-07-14 13:03:53 +02:00
Anselm R. Garbe c2cf829ef9 focus on view change as well 2006-07-14 12:11:24 +02:00
Anselm R. Garbe eb756ee169 made stdin reader more robust 2006-07-14 12:08:32 +02:00
Anselm R. Garbe 9cd686c93a implemented bar for dwm (I miss status text), I plan that status text is read from stdin in dwm 2006-07-14 10:07:38 +02:00
Anselm R. Garbe 72655f0ce7 continued with man page 2006-07-14 08:34:38 +02:00
Anselm R. Garbe 86d9851427 except improvements to the mouse handling this is already nearly feature complete 2006-07-13 21:49:55 +02:00
Anselm R. Garbe 66da15324e added mini stuff 2006-07-13 21:42:17 +02:00
Anselm R. Garbe 7fe717c29f fixed several things, nearly feature complete 2006-07-13 20:28:19 +02:00
Anselm R. Garbe 3aad92202d new stuff 2006-07-13 19:55:07 +02:00
Anselm R. Garbe efa7e51401 several other additions/fixes, dwm is quite usable already 2006-07-13 18:21:38 +02:00
Anselm R. Garbe c47da143bd implemented tagging a client 2006-07-13 17:09:35 +02:00
Anselm R. Garbe ce846e941b added xlock command (I need it regularly) 2006-07-13 12:19:10 +02:00
Anselm R. Garbe 0a638a4caf added pointer warps on kb-driven/manage-driven focus 2006-07-13 12:00:20 +02:00
Anselm R. Garbe 21553f9b4d changed back to urxvt, dwm has no problems with it, because it doesn't use frame windows ;) 2006-07-13 11:49:31 +02:00
Anselm R. Garbe 9e8b3258a0 changed default colors 2006-07-13 11:43:05 +02:00
Anselm R. Garbe 650a1fb4e1 added logo+description 2006-07-13 09:32:22 +02:00
Anselm R. Garbe d7e17087ed new stuff (some warning elimination) 2006-07-13 01:55:54 +02:00
Anselm R. Garbe 8b59083eb1 removed unnecessary crap 2006-07-13 01:30:55 +02:00
Anselm R. Garbe da2bbd371c before leaning things up 2006-07-13 01:04:38 +02:00
Anselm R. Garbe b1701adf75 new stuff, fixed several issues 2006-07-12 17:50:31 +02:00
Anselm R. Garbe 2e836ecce1 added gravity stuff 2006-07-12 17:17:15 +02:00
Anselm R. Garbe 6db5ffb6c9 added max 2006-07-12 16:40:37 +02:00
Anselm R. Garbe 4641aa2925 added grid mode on Mod1Mask g 2006-07-12 16:00:51 +02:00
Anselm R. Garbe dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 2006-07-12 15:17:22 +02:00
Anselm R. Garbe 2a0fc84c4a some more additions/fixes 2006-07-12 00:00:25 +02:00
Anselm R. Garbe 896f08d7d5 fixed several other stuff, coming closer to something useful 2006-07-11 23:46:39 +02:00
Anselm R. Garbe 83d23908d3 implemented draw_client stuff 2006-07-11 23:18:30 +02:00
Anselm R. Garbe a05beb6585 made code more readable 2006-07-11 22:49:09 +02:00
Anselm R. Garbe 48b6e9a396 added basic mouse support (actually we don't need more) 2006-07-11 21:41:49 +02:00
Anselm R. Garbe b9da4b082e added mouse-based resizals 2006-07-11 21:24:10 +02:00
Anselm R. Garbe d6e0e6e987 several changes, new stuff 2006-07-11 18:53:41 +02:00
Anselm R. Garbe 586f66331d added bar event timer 2006-07-11 18:15:11 +02:00
Anselm R. Garbe 3399650076 added protocol killing stuff 2006-07-11 16:14:22 +02:00
Anselm R. Garbe 005362043d changed how manage client works 2006-07-11 13:02:22 +02:00
Anselm R. Garbe 16c67f32d6 fixed several stuff (gridwm gets better and better) 2006-07-11 12:52:57 +02:00
Anselm R. Garbe 8a8b7956b6 new stuff 2006-07-11 11:27:56 +02:00
Anselm R. Garbe 439e15d09f added several other stuff 2006-07-10 22:16:48 +02:00