Commit Graph

422 Commits (ac4caea92131a3fa46ea3f8b0c296ef175cc713a)

Author SHA1 Message Date
a@null 76d7e80fc4 avoid reverting the border if it's not necessary (avoids some flashing on view()) 2009-02-08 09:46:23 +00:00
a@null af8049bce8 spotted missing spaces 2008-12-20 12:02:14 +00:00
a@null 2bb51b3246 reverting some border patches 2008-12-20 00:02:56 +00:00
a@null b16d8282be changed adjustborder to be a macro 2008-12-19 23:56:00 +00:00
a@null fef4614772 applied yiyus applyrules() patch 2008-12-19 23:41:31 +00:00
a@null be39dddcc5 implemented noborder for 1 client in the view 2008-12-17 21:25:32 +00:00
a@null 57a0788bd8 ok, using signal.h for portability reasons 2008-12-13 17:44:29 +00:00
a@null 3ad906eede removed unnecessary closure of stdin reported by Frederic Chardon, thx 2008-12-13 17:27:48 +00:00
a@null 0be9fb8797 added sys/signal.h inclusion for BSD compliance 2008-12-13 16:35:34 +00:00
a@null 62a491e36d re-applied Neale's spawn patch, credited Neale in LICENSE 2008-12-12 19:55:03 +00:00
a@null 0b5dcf229f applied Neale Pickett's xprop status reading patch, updated README and dwm.1 accordingly 2008-12-12 19:49:06 +00:00
arg@localhost.localdomain fda92f46aa applied yiyus fix 2008-12-06 16:20:14 +00:00
Anselm R Garbe fbce733532 integrated yiyus clearurgent refactoring 2008-12-06 09:32:32 +00:00
arg@localhost.localdomain e7572804fa reverted spawn 2008-12-06 09:16:48 +00:00
Anselm R Garbe 2b047e460b added Neale Pickett's spawn patch, thanks Neale 2008-12-04 20:15:00 +00:00
Anselm R Garbe 5f74dc5e78 applied Gottox' comment fix (thanks) 2008-11-16 13:22:24 +00:00
Anselm R Garbe ea8a4ca46a several changes towards 5.3, XINERAMA is disabled by default, introduced usegrab Bool for grabbing the server during mouse-based resizals/movements (disabled by default), continued debugging tile() with resizehints == True and a lot of terminals supporting resizehints, still no optimal solution, I need to think about it, considering recursive algorithm for the space optimization 2008-10-19 12:59:18 +01:00
Premysl Hruby 4883a06221 removed NOBORDER(broken and badly used), introduce WIDTH/HEIGHT macros for computing client size with border added, fixes bug announced by sergey_m 2008-10-15 18:08:24 +02:00
Anselm R Garbe 53cac17692 using malloc() instead of calloc() and sticking to static initializer and struct assignment, not using *c = (Client){}; right now to avoid some ugly gcc warning, possibly a gcc bug since we are using -std=c99 2008-09-08 22:24:05 +01:00
Anselm R Garbe 83abfc05eb applied XGetWMNormalHints fix 2008-09-07 09:53:59 +01:00
Anselm R Garbe 862b0d541d I prefer doing the check in showhide 2008-09-06 09:34:49 +01:00
Anselm R Garbe c1c6fdc5d8 applied Donald Chai's showhide patch in slightly modified ways 2008-09-06 09:21:32 +01:00
Anselm R Garbe 9a4d07d9de applied Martin Hurton's checkotherwm simplification 2008-09-06 08:59:51 +01:00
Anselm R Garbe 30410108eb applied Peter Hartlichs aspect revert fix 2008-09-02 22:36:06 +01:00
Anselm R Garbe 753e0e048e applied Gottox' grabkey patch 2008-09-02 18:47:01 +01:00
Anselm R Garbe d15d4ba45a applied yiyus tagbar patch 2008-09-01 22:18:50 +01:00
Anselm R Garbe addc52c948 fixed 2008-08-29 11:29:42 +01:00
Anselm R Garbe 26f41c9055 checking result of XGetClassHint, removed some obsolete lines in initfont() 2008-08-29 10:13:47 +01:00
Anselm R Garbe 73ec124ae9 merged my changes 2008-08-27 15:03:35 +01:00
Anselm R Garbe ec11a3470c introduced NOBORDER macro to hide the nasty - 2 * c->bw in various calculations, moved tagset to config.def.h 2008-08-27 12:52:44 +01:00
Premysl Hruby 4b3b597da3 WM_NAME is builtin atom 2008-08-25 11:43:45 +02:00
Anselm R Garbe 288cf78b18 grabbuttons() and grabkeys() are now independent from prior numlockmask initialization 2008-08-25 09:44:23 +01:00
Anselm R Garbe 6411aa921b reverted some resize() changes, reverted setlocale removal 2008-08-25 09:37:39 +01:00
Anselm R Garbe db5db8806f applied Peter Hartlich's patch regarding aspect calculation with slight modifications 2008-08-23 09:54:55 +01:00
Anselm R Garbe 258c338030 removed artifact from wmii 2008-08-23 09:33:05 +01:00
Anselm R Garbe 85da537856 changed grabkeys, removed initmodmap 2008-08-23 09:31:28 +01:00
Anselm R Garbe 2b4157eccd applied Peter Hartlich's initmodmap patch 2008-08-23 09:26:11 +01:00
Premysl Hruby 0f26de991f applied fix of toggletag by Jan Kaliszewski 2008-08-22 15:26:30 +02:00
Anselm R Garbe 840f937a98 Martin Hurtons typo fix 2008-08-18 19:28:57 +01:00
Anselm R Garbe 6975a7e31a fixed error I did when applying Martin Hurton's drawtext patch 2008-08-18 19:23:03 +01:00
Anselm R Garbe 47f63dce55 applied Martin Hurtons resizemouse patch 2008-08-18 19:19:15 +01:00
Anselm R Garbe 02a8ca95cf applied Martin Hurton's movemouse() patch 2008-08-18 18:23:39 +01:00
Anselm R Garbe 2ce50a9cad using None instead of 0 for trans 2008-08-18 10:22:46 +01:00
Anselm R Garbe bfa5869da1 abc... 2008-08-18 10:21:24 +01:00
Anselm R Garbe 087a55f8d3 removed the i = textnw... as remarked by Martin Hurton 2008-08-18 10:16:36 +01:00
Anselm R Garbe 6d7285fd6e applied Martin Hurton's scan() patch with slight modifications 2008-08-18 10:14:51 +01:00
Anselm R Garbe 69c7b4b0ba changed order of variables in drawtext 2008-08-18 10:00:10 +01:00
Anselm R Garbe 97699e5b1b applied Martin Hurton's drawtext() patch 2008-08-18 09:55:36 +01:00
Anselm R Garbe 2dc7f42fd7 applied Martin Hurton's view() simplification, not checking arg 2008-08-18 09:49:44 +01:00
Anselm R Garbe 9f3a5cb754 making a comment more explicit 2008-08-18 09:39:52 +01:00
Anselm R Garbe b48fa3f101 removed setlocale() stuff, not necessary if Xmb in use 2008-08-18 09:31:55 +01:00
Anselm R Garbe d8d733c34f added some comments regarding FAQ about s{x,y,w,h}, w{x,y,w,h}, b{y,h,lw} 2008-08-18 09:10:21 +01:00
Anselm R Garbe bb01e5a16f initialize trans with 0 2008-08-18 08:57:34 +01:00
Premysl Hruby 06f7eed103 fix of XGetTransientForHint in manage() 2008-08-14 22:35:52 +02:00
Premysl Hruby 0ffa6d1393 applied cleanup from M. Hurton and S. Nagy 2008-08-14 12:36:49 +02:00
Premysl Hruby 15ce143620 fixes using arg->i instead of arg->ui 2008-08-12 21:24:40 +02:00
anselm@anselm1 63d7190231 applied Johannes Hofmann's patch, please test 2008-08-04 17:39:36 +01:00
Anselm R Garbe b279cef670 made readin a config.h variable 2008-08-02 19:12:15 +01:00
Anselm R Garbe 4a2902efe4 forcing fullscreen windows to bw=0, though most fullscreen apps are broken anyways 2008-07-29 11:32:22 +01:00
Anselm R Garbe 6fad4c49f1 potential crash fix if xinerama behaves broken, though I doubt it 2008-07-18 20:18:45 +01:00
Anselm R Garbe 7ecadcee39 local use of xidx is useless, got rid of it, falling back to screen 0 if pointer query fails for whatever reason 2008-07-16 18:39:48 +01:00
Anselm R Garbe c86ed46a1b got rid of compile time xidx configuration, querying mouse pointer instead 2008-07-16 18:33:51 +01:00
Anselm R Garbe 9086f98068 reverted uint redefinition 2008-07-16 18:17:42 +01:00
anselm@aab 9aa4a9043d applied anydot's urgency hint patch, thanks! 2008-07-13 18:08:55 +01:00
Anselm R Garbe d5893f55be renamed eprint die 2008-07-03 17:05:56 +01:00
Anselm R Garbe f529d41ca1 simplified detach() 2008-07-03 10:58:35 +01:00
Anselm R Garbe 45768ee04b removed aux* stuff from Client 2008-07-02 11:54:36 +01:00
Anselm R Garbe bf76cefe47 minor fix to view() 2008-07-02 11:06:46 +01:00
Anselm R Garbe 9bb0f20515 applied Frederik Ternerot's grabbuttons patch with slight modifications 2008-07-01 19:26:17 +01:00
Anselm R Garbe 2431ae7df7 locale update 2008-06-30 09:57:45 +01:00
Anselm R Garbe 7f7c3140a9 fix of monocle 2008-06-22 09:33:49 +01:00
Anselm R Garbe 277155cf77 another merge 2008-06-22 09:29:35 +01:00
Anselm R Garbe 0c38ec7cd6 does this fix anything? 2008-06-22 09:29:06 +01:00
Anselm R Garbe deef4c9bfd fixed Gottox' buttonpress/ClkTagBar code 2008-06-21 13:49:43 +01:00
Anselm R Garbe b86c818599 applied Gottox' ClkTagBar patch 2008-06-20 16:52:07 +01:00
Anselm R Garbe c2a916bf30 made arrange again like it was once 2008-06-19 14:58:19 +01:00
Anselm R Garbe 2bd46d1ce6 fix 2008-06-19 14:13:07 +01:00
Anselm R Garbe 6e0ce46365 use sel instead of seeking the list 2008-06-19 14:07:55 +01:00
Anselm R Garbe c853d5e9bb resize should apply if !banned 2008-06-19 14:01:40 +01:00
Anselm R Garbe 31da0b7525 applied Gottox patch 2008-06-19 12:28:56 +01:00
Anselm R Garbe 12ea925076 untested monocle 2008-06-19 11:38:53 +01:00
Anselm R Garbe 79ecbeca7e non-zero 2008-06-19 09:11:11 +01:00
Anselm R Garbe f25cc5678f tiled layout resizehints should be respected by default 2008-06-17 11:19:17 +01:00
Anselm R Garbe 5a92420fce restored y-coordinate fixing of client windows 2008-06-17 09:57:13 +01:00
Anselm R Garbe a06b9193c7 minor fixes towards 5.0 2008-06-15 10:52:57 +01:00
Anselm R Garbe 43bb77a569 removed explicit warp in movemouse 2008-06-14 15:15:15 +01:00
Anselm R Garbe b6aa84e51b removed the ButtonPressMask for root windows as well 2008-06-14 11:22:22 +01:00
Anselm R Garbe 9ff5143acb removed root window click handling 2008-06-14 11:21:50 +01:00
Anselm R Garbe 1edf6a7866 removed font and color definitions 2008-06-14 10:38:18 +01:00
Anselm R Garbe 1f1a132784 fixed tag click handling, however ClkRootWin doesn't work for me 2008-06-12 23:04:55 +01:00
Anselm R Garbe 709da0b858 some bugfixes of the patch application yesterday 2008-06-12 13:10:14 +01:00
Anselm R Garbe 5cd65f8cd8 integrated yiyus mouse.diff (though the bar click handling is slightly broken, I'm to tired to debug it now, yiyus could you please?) 2008-06-11 20:41:28 +01:00
Anselm R Garbe e3838e8585 made Xinerama screen index customizable 2008-06-11 19:55:07 +01:00
Anselm R Garbe 016dca4f69 removed trailing spaces reported by Soleen 2008-06-11 19:47:20 +01:00
Anselm R Garbe 8f052596b2 crash fix 2008-06-11 19:42:24 +01:00
Anselm R Garbe 9463d5354b made lt visible again in config.def.h 2008-06-11 17:01:30 +01:00
Anselm R Garbe d662f98d89 added nsz' patch 2008-06-11 14:10:18 +01:00
Anselm R Garbe e5a965a274 added SHCMD support for pipe-based commands due the new spawn() versio 2008-06-11 13:20:17 +01:00
Anselm R Garbe 5d422bb1ce using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot 2008-06-11 10:26:57 +01:00
Anselm R Garbe 38a43c2dcc lt will point to a foo-layout during cleanup now (Gottox' suggestion), and togglelayout respects Arg->v 2008-06-11 10:25:02 +01:00
Anselm R Garbe c56533615f integrated Peter Hartlich's patch, removed const char *c from union, simplified togglelayout 2008-06-11 09:34:00 +01:00
Anselm R Garbe a8e0772c4d applied anydot's patchset.diff 2008-06-11 09:12:06 +01:00
arg@suckless.org 98e7950be8 final version -- Gottox verified it using the test driver 2008-06-09 11:24:33 +02:00
arg@suckless.org 88e6eb4a3a revert of introduced problem 2008-06-09 11:05:20 +02:00
arg@suckless.org 0840c1367c applied nsz' textnw patch thank you 2008-06-09 10:26:01 +02:00
arg@suckless.org 077d3e435b updated the for-loop with Gottox' proposal 2008-06-09 10:05:40 +02:00
arg@suckless.org d26b60b43e minor change 2008-06-06 11:49:31 +02:00
arg@suckless.org 32f36ab2d5 applied nsz's patches (many thanks!) 2008-06-04 11:49:46 +02:00
arg@suckless.org 08bcf721b4 small change to drawtext 2008-06-02 12:19:02 +02:00
Anselm R Garbe fc578c57e4 fixed the tile() issue with xpdf 2008-06-01 17:51:22 +01:00
Anselm R Garbe c8eaab21b6 using anydot's memcpy-approach in drawtext, however it still looks awkward to me 2008-06-01 17:41:15 +01:00
Anselm R Garbe c26e22ccee Gottox' drawtext simplification 2008-06-01 11:58:19 +01:00
Anselm R Garbe c2784e4a38 applied noviewprev.diff, fix.diff and unusedflags.diff 2008-06-01 10:54:02 +01:00
Anselm R Garbe 6e9387793b fix 2008-05-31 17:37:13 +01:00
Anselm R Garbe 92f3c181c3 lt->arrange in mfact 2008-05-31 17:05:28 +01:00
Anselm R Garbe d589f7679a isfixed implies isfloating 2008-05-30 23:03:03 +01:00
Anselm R Garbe 75690c808d applied nibbles fixes, slightly modified 2008-05-29 18:42:53 +01:00
Anselm R Garbe fde58d5e63 applied yiyus tip patch from tue 2008-05-29 18:22:51 +01:00
Anselm R Garbe e1002745fa core dump fix in cleanup 2008-05-28 10:45:18 +01:00
Anselm R Garbe 940a4cc6c6 updated the initial comment to reflect the use of bit arrays 2008-05-26 11:43:51 +01:00
Anselm R Garbe 64243ab05b slight changes 2008-05-26 11:42:02 +01:00
Anselm R Garbe 32c5046635 removed bx and bw, unnecessary 2008-05-26 10:28:18 +01:00
Anselm R Garbe 6c8618f502 renamed domax into ismax 2008-05-26 10:13:51 +01:00
Anselm R Garbe 9189f7a12d simplified tile() 2008-05-26 10:10:33 +01:00
Anselm R Garbe 2d4faae522 removed Layout->updategeom, unnecessary 2008-05-26 09:54:34 +01:00
Anselm R Garbe 5d2385b636 removed TEXTW 2008-05-26 09:45:34 +01:00
Anselm R Garbe 0fe2e783e9 applied yiyus domax patch with slight modifications 2008-05-26 09:39:57 +01:00
Anselm R Garbe cd3d83f571 replaced isvisible with a macro 2008-05-22 14:15:30 +01:00
Anselm R Garbe 0a9ef560c0 removed emallocz 2008-05-22 14:10:00 +01:00
Anselm R Garbe 56b2fece9e removed debug output, sanitized tag limit check 2008-05-22 13:35:45 +01:00
Anselm R Garbe 48d0c56eac Key.mod is uint, Client.[old]bw is int 2008-05-22 11:50:18 +01:00
Anselm R Garbe 825d6cb93a s/unsigned long/ulong/ 2008-05-22 11:16:23 +01:00
Anselm R Garbe f852504014 s/nextunfloating/nexttiled/, changed zoom() behavior 2008-05-22 11:12:22 +01:00
Anselm R Garbe c3fa9e879f s/unsigned int/uint/ 2008-05-22 11:10:08 +01:00
Anselm R Garbe 8e05f6c592 s/void */const void */ 2008-05-22 11:08:07 +01:00
Anselm R Garbe 39d1ecd5b0 applied Gottox bitmask + void *arg patch 2008-05-22 11:04:19 +01:00
anselm@anselm1 103fb58a44 some minor fixes 2008-05-19 20:29:57 +01:00
anselm@anselm1 5f55af40ae simplification 2008-05-19 20:13:24 +01:00
anselm@anselm1 822101dd5b merged tile.c again into dwm.c 2008-05-19 20:07:12 +01:00
Anselm R Garbe 6bdef73a4f take bar into account 2008-05-19 17:27:30 +01:00
Anselm R Garbe 234b12eb73 be more polite to clients which like to appear outside the window area, but still on the screen 2008-05-19 17:23:49 +01:00
Anselm R Garbe 499315c22c fix 2008-05-19 15:09:16 +01:00
Anselm R Garbe f22d047d41 make it easier for the user, if Xinerama support is given, always use the screen 0 as window area/bar area, everything else can be used for floating clients 2008-05-19 15:05:46 +01:00
Anselm R Garbe 71365a524f only snap within window area 2008-05-19 13:41:58 +01:00
Anselm R Garbe 3afca3e6a1 s/DEFGEOM/CUSTOMGEOM/ 2008-05-19 13:37:46 +01:00
Anselm R Garbe 549726869b recent changes, introduced togglebar, changed some defines into variable declarations where possible 2008-05-19 12:34:54 +01:00
Anselm R Garbe 585294ce0f removed the <M> togglelayout call 2008-05-17 14:50:37 +01:00
Anselm R Garbe bd67a82fb5 removed monocle for now 2008-05-17 14:46:06 +01:00
Anselm R Garbe 14d8d828ab removed the exact focus mechanism of next/prev window 2008-05-17 14:41:41 +01:00
Anselm R Garbe 4246affc15 moved all tile()-related stuff into tile.c which is included from config.def.h, the default dwm is now nearly independent from the arrange() algorithm in use 2008-05-17 14:38:22 +01:00