Commit Graph

223 Commits

Author SHA1 Message Date
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
64cfebc5e7 made configurerequest more tidy 2007-02-14 08:14:41 +01:00
Anselm R. Garbe
7a095d0ce2 I didn't knew of c->isfixed, that should fix Jukkas issue with gkrellm ;) 2007-02-13 22:53:58 +01:00
Anselm R. Garbe
22d8c6fd18 stupid me, one needs to set c->{x,y,w,h} in configurerequest obviously ;) 2007-02-13 14:59:58 +01:00
Anselm R. Garbe
71857b87ee simplified configurerequest 2007-02-13 13:39:33 +01:00
Anselm R. Garbe
35e65ea640 I don't see any reason why we should select for input on override-redirect windows? 2007-02-12 16:41:46 +01:00
Anselm R. Garbe
dc9f62f393 removing all EnterNotifys after resize 2007-02-12 10:21:26 +01:00
Anselm R. Garbe
7055315725 added pointer warp on drop in resize 2007-02-12 10:19:52 +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
87836d79ef renamed activescreen into selscreen 2007-01-23 17:12:15 +01:00
Anselm R. Garbe
71b84c2114 small changes 2007-01-23 12:29:17 +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
201c56f6d3 leavenotify also don't needs the check 2007-01-19 15:05:07 +01:00
Anselm R. Garbe
1e051d71f5 deciding for focus(NULL); 2007-01-19 15:01:51 +01:00
Anselm R. Garbe
ddc79603f9 replaced XSetBorder.../focus() 2007-01-19 14:38:09 +01:00
Anselm R. Garbe
dee5ea2335 yet another multihead fix by Christof Musik 2007-01-19 14:36:25 +01:00
Anselm R. Garbe
96e1b25c8c applied a modified version of Christof Musik's multihead patch (though this is not sure if it works in all cases, have to wait for an ACK by Christof) 2007-01-18 11:11:40 +01:00
Anselm R. Garbe
3b18f17d4d Jukka, thanks for being faster than me! 2007-01-15 19:01:57 +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
653826572d added comment to %u in config.default.h, added Button{4.5} support on mode label 2007-01-10 12:54:23 +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
629647dfee removed gravitate for the moment 2006-12-11 16:45:02 +01:00
arg@mig29
0a915eba8f applied Alex Elide's tricky patch, thanks! 2006-11-27 17:51:50 +01:00
arg@mig29
19dcbc5717 returning to old Key struct 2006-11-27 17:49:58 +01:00
arg@mig29
19390b1a91 changing Key.func into Key.func[NFUNCS], this allows sequences execution of functions per keypress (avoids implementing useless masterfunctions which call atomic ones) 2006-11-27 13:21:38 +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
b003a35fde applied Gottox' windowarea patch 2006-11-16 14:40:57 +01:00
arg@mig29
04b633ddf3 make sure that changing sx has no impact on snapping 2006-10-31 09:02:16 +01:00
arg@mig29
51c7589c87 fixed stupid bug of snap-to-screen 2006-10-30 12:26:55 +01:00
arg@mig29
99785382ae changing snap priority 2006-10-30 12:07:00 +01:00
arg@mig29
dc1690ce0f removed useless abs() calls 2006-10-30 12:04:08 +01:00
arg@mig29
b6614261ea added screen-border snapping in floating mode, feels quite well 2006-10-30 11:58:05 +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
Anselm R. Garbe
d7734f996f moved MOUSEMASK into event.c (not used in other places) 2006-10-16 16:50:03 +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
10885d349a removed the stack position stuff 2006-10-05 19:27:28 +02:00
Anselm R. Garbe
d9c475d7f4 Button3 click on mode label toggles stack position now 2006-10-05 09:37:11 +02:00
Anselm R. Garbe
fee8df6ccf added the new dotile as described on ml 2006-09-29 16:22:20 +02:00
Anselm R. Garbe
b427a2c6cb I changed sanders patch to fix the ff issue to be simplier, though it needs testing if this really fixes the issue 2006-09-29 12:56:01 +02:00
Anselm R. Garbe
14d05e7c72 first step to a more flexible dotile() algorithm 2006-09-29 12:38:27 +02:00
Anselm R. Garbe
6092aa977e fixing the settags issue, preparing 1.7.1 2006-09-27 17:18:46 +02:00
arg@zarathustra
c9cc2b385a removed an unused var 2006-09-26 17:42:14 +02:00
arg@mmvi
4d6c4d36ce removed useless debug info 2006-09-26 08:17:35 +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
67bc08d1b9 slight change of event handling order 2006-09-25 21:28:00 +02:00
arg@mmvi
bcb07de750 simplified mouse resizals 2006-09-25 21:19:18 +02:00
arg@mmvi
7d7cde0fd6 applied sanders jukka patch 2006-09-25 20:38:30 +02:00
arg@mmvi
6b25d06d7d applied Jukkas patch 2006-09-25 08:21:51 +02:00
arg@mmvi
da909dd1e8 ismax toggling on mouse based action 2006-09-22 14:00:54 +02:00
arg@mmvi
b2cb925d99 patched resizemouse according to sanders remark 2006-09-22 11:24:01 +02:00
arg@mmvi
9eb226ff78 sander check this 2006-09-22 09:43:21 +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
2511b5c675 added visibility check to enternotify as well 2006-09-15 14:21:25 +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
26157e6973 applied Sanders max_and_focus.patch 2006-09-04 08:55:49 +02:00
Anselm R. Garbe
6d22782e8f simplified buttonpress 2006-09-01 15:31:59 +02:00
Anselm R. Garbe
1836b6740d applied sanders patch 2006-09-01 10:32:50 +02:00
Anselm R. Garbe
05fbbbd8dc implemented Button2 press on tags for toggletag on the focused client 2006-08-31 17:49:04 +02:00
Anselm R. Garbe
30d928591d simplified configurerequest 2006-08-29 19:24:28 +02:00
Anselm R. Garbe
70a3e62257 now dwm enforces max screen size also in tiled mode on non-floating clients which are maximized 2006-08-29 18:05:02 +02:00
Anselm R. Garbe
6828fba7a0 fixed 2006-08-29 17:33:27 +02:00
Anselm R. Garbe
aa1bda8164 configurenotify remembers max geom now, and restores this if necessary, however it accepts to touch the max size on configurerequest, this shouldn't break fillscreen apps (tested with mplayer) 2006-08-29 17:31:55 +02:00
Anselm R. Garbe
0a25fe9188 applied sanders focus_ patches 2006-08-28 08:06:50 +02:00
Anselm R. Garbe
2dd5212a79 applied sanders somepatches.patch 2006-08-28 08:02:29 +02:00
Anselm R. Garbe
e995c1b532 trying a different configuration 2006-08-25 15:48:44 +02:00
Anselm R. Garbe
d37dfa1bed changed symbols for float/tiled mode, added mouse-driven mode toggle to buttonpress() 2006-08-25 15:06:38 +02:00
Anselm R. Garbe
b55bd709ee new color stuff/new rendering stuff 2006-08-25 12:59:45 +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
b6ad663f87 changed main event loop 2006-08-15 07:31:42 +02:00
Anselm R.Garbe
ee31e38dc7 removed NUMLOCKMASK, added dynamically calculated numlockmask instead 2006-08-14 19:18:02 +02:00
Anselm R.Garbe
3e06edeb5d applied sanders man page patch, removed button2 from bar click 2006-08-14 18:14:08 +02:00
Anselm R.Garbe
4ad20ffc2c fixed 2006-08-14 17:48:54 +02:00
Anselm R.Garbe
823fb1118a remove unnecessary XSync 2006-08-14 16:26:06 +02:00
Anselm R.Garbe
0f3acce042 added mappingnotify event for kb refreshes 2006-08-14 16:08:52 +02:00
Anselm R.Garbe
9eef9f7b02 removed unneecessary crap 2006-08-14 15:43:04 +02:00
Anselm R.Garbe
fe3dfbbe90 pplied Sanders appendtag patch 2006-08-14 15:31:58 +02:00
Anselm R.Garbe
2ffdc1936c some other small fixes 2006-08-14 15:11:02 +02:00
Anselm R.Garbe
0fe52c63ea removed ungrabkeys again (because of sander's mail) 2006-08-14 11:38:43 +02:00
Anselm R.Garbe
375a251d16 implemented ungrabkeys() which is called in cleanup() 2006-08-14 10:24:38 +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
95766d6241 applied Sanders LD and resize patches 2006-08-14 08:43:19 +02:00
Anselm R.Garbe
4cb78a170c removed viewnext/viewprev 2006-08-14 08:38:26 +02:00
Anselm R.Garbe
349cadacf6 made shortcuts like proposed by Sander, renamed viewextend to toggleview (more clear) 2006-08-13 17:58:06 +02:00
Anselm R.Garbe
292ccc4c43 implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature 2006-08-11 19:26:12 +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
7d4184dc5c realized that client focussing through the bar is pretty useless, better is sloppy view focussing for B1/B3 as well instead 2006-08-11 10:00:47 +02:00
Anselm R.Garbe
8278f0a6be implemented focusprev on button1 press in the bar, and focusnext on button3 press in the bar 2006-08-11 09:16:40 +02:00
Anselm R.Garbe
9fce8215b7 applied Sanders zoom_update patch 2006-08-10 17:48:50 +02:00
Anselm R.Garbe
fde45ebed8 applied sumik's multihead patch 2006-08-10 11:26:32 +02:00
Anselm R.Garbe
4bd0d33f57 applied sander's patch 2006-08-10 11:19:25 +02:00