Commit Graph

53 Commits

Author SHA1 Message Date
Hiltjo Posthuma fcb2476b69 util.c: output function might override errno and thus affect perror()
Original patch by Raymond Cole with some modifications, thanks!
2024-10-27 20:10:07 +01:00
Hiltjo Posthuma e0dee91145 sync code-style patch from libsl 2022-08-08 10:43:09 +02:00
Hiltjo Posthuma 24849acada die() on calloc failure
thanks Markus Teich and David!
2016-11-05 11:34:52 +01:00
Hiltjo Posthuma ab9571bbc5 die() consistency: always add newline 2016-08-12 14:36:35 +02:00
Hiltjo Posthuma 646b351cc7 sync updated drw code from dmenu
important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
2015-10-20 23:38:31 +02:00
Anselm R Garbe f21d46ea7d continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well 2012-12-08 10:13:01 +01:00
Anselm R. Garbe 0235a84ef2 micromizing dwm step 1 2007-09-15 22:25:27 +02:00
Anselm R. Garbe 2c6be7239f referred to LICENSE file 2007-05-30 12:19:28 +02:00
Anselm R. Garbe d934296476 Jukka also belongs to Copyright holders after all he has contributed and done for dwm, updated -v as well 2007-05-30 12:10:01 +02:00
Anselm R. Garbe 9fdd2cd1a9 added nsz to copyright holders as well, because he did a lot recently 2007-05-29 11:57:08 +02:00
Anselm R. Garbe e1deda9e04 added anydot to Copyright holders, because he contributed a lot recently 2007-05-29 11:47:55 +02:00
Anselm R. Garbe a730213c3b yet another fix of copyright compactisition 2007-04-13 11:40:09 +02:00
Anselm R. Garbe 399993c6b5 making Copyright notices more compact 2007-04-13 11:32:38 +02:00
Anselm R. Garbe 2c477cf661 replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places 2007-02-22 11:42:08 +01:00
Anselm R. Garbe 352cae4380 several changes, made togglemax extern and separated it from zoom() - moved zoom() and togglemax() into layout.c, changed void (*func)(Arg *) into void (*func)(Arg), changed default keybindings of focusnext/focusprev and incmasterw to h/j/k/l accordingly, made keys in config*h appear alphabetically (special keys first), renamed resizemaster into incmasterw, renamed MASTER into MASTERWIDTH 2007-02-22 07:59:13 +01:00
Anselm R. Garbe 9715ba82aa removed erealloc (not used) 2007-01-16 11:35:56 +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
Anselm R. Garbe 6651dd7fd9 code polishing, removed unnecessary newlines 2006-10-06 11:50:15 +02:00
arg@mmvi 4230932563 reviewed util.c 2006-09-20 09:49:32 +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 a50b15a9e9 added a comment to spawn 2006-08-28 08:17:27 +02:00
Anselm R. Garbe 7711ab6707 eliminated sentinel warning 2006-08-23 12:28:39 +02:00
Anselm R. Garbe 6a3ae5e26a removed badmalloc (thx for the pointer to Uriel) 2006-08-22 16:06:11 +02:00
Anselm R.Garbe 08d85d6d66 small renamings of two static functions 2006-08-21 07:33:18 +02:00
Anselm R.Garbe d4b7a9a373 implemented restack behavior (floats are on top in tiled mode) 2006-08-14 10:18:24 +02:00
arg@10ksloc.org e48de30516 applied grabbing-- and shell_minimal 2006-08-07 13:40:31 +02:00
arg@10ksloc.org 9955ddc978 using execl now, argv changed, using cmd and const char defs directly in the KEYS struct 2006-08-04 12:00:55 +02:00
arg@10ksloc.org 8f698bd4cc small stylistic fix 2006-08-04 10:27:16 +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 0464e42231 some cleanups/fixes inspired by Jukka Salmi's feedback 2006-07-21 18:34:10 +02:00
arg@10ksloc.org dc5d967ee6 cleaned up code 2006-07-20 12:18:06 +02:00
Anselm R. Garbe 849e631510 using EXIT_stuff in exit() now 2006-07-18 08:18:54 +02:00
Anselm R. Garbe bf35794507 ordered variables in structs and source files alphabetically 2006-07-17 09:12:29 +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 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 c47da143bd implemented tagging a client 2006-07-13 17:09:35 +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 b1701adf75 new stuff, fixed several issues 2006-07-12 17:50:31 +02:00
Anselm R. Garbe d6e0e6e987 several changes, new stuff 2006-07-11 18:53:41 +02:00
Anselm R. Garbe b1669b5c48 removed unnecessary sel stuff 2006-07-11 18:19:01 +02:00
Anselm R. Garbe 586f66331d added bar event timer 2006-07-11 18:15:11 +02:00
Anselm R. Garbe 26e134b8a7 added gridsel to gridwm 2006-07-11 13:21:57 +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 3a69c5173c implemented pipe_spawn 2006-07-11 11:10:05 +02:00