Commit Graph

29 Commits

Author SHA1 Message Date
Aldo Cortesi ce556ec743 The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
Julien Danjou 6241354fec prefix eprint() with awesome: 2007-12-13 15:20:42 +01:00
Aldo Cortesi 64117935c8 Add a warn utility function, and use it to improve error reporting in run_uicb. 2007-12-13 09:58:46 +01:00
Nikos Ntarmos ac188235ed Split x-related util functions to a separate xutil.{c,h} file pair.
Hi there.

awesome-client is now linked against the whole hog of x-related libs
that awesome depends on. These get pulled in by awesome-client using the
same LDFLAGS as awesome. Removing x-related libs from the LDFLAGS for
awesome-client is only half of the story, as it also depends on util.c
which now has a couple of x-related functions. The attached patch also
splits these functions into a separate xutil.{c,h} file pair and teaches
the rest of the files to use them. Apart from the small difference in
file size (I see a 3-3.5% decrease in file size, both for a stripped and
a non-stripped awesome-client binary), this should also somewhat reduce
the startup time (since awesome-client won't have to map all of these
libraries).

Cheers...

\n\n
2007-11-19 20:45:21 +01:00
Julien Danjou a74ca1d1de tabswidth is 4 not 6 2007-10-15 13:56:24 +02:00
Julien Danjou 4e0acfa99a add coding style stuff 2007-10-15 13:40:52 +02:00
Julien Danjou a6781157b6 allow to execute uicb function via awesome control fifo 2007-10-12 17:10:36 +02:00
Julien Danjou c4e130d7d9 remove Display as param for uicb 2007-10-11 23:32:29 +02:00
Julien Danjou e733af41ec remove drawcontext everywhere 2007-10-10 14:09:36 +02:00
Julien Danjou 97a2085705 cosmetic: remove lines with empty spaces at end 2007-10-03 17:26:14 +02:00
Julien Danjou ca169340b1 use PATH_MAX instead of _POSIX_PATH_MAX 2007-09-28 13:42:13 +02:00
Julien Danjou a6943aa3f3 add uicb_exec 2007-09-28 13:39:46 +02:00
Julien Danjou 990bc8d6f2 bug fix: previous commit broke Zaphod mode in spawn() 2007-09-27 19:18:19 +02:00
Julien Danjou 3bba90fa38 don't modify display if we're on Xinerama 2007-09-27 17:52:36 +02:00
Julien Danjou 256717c792 add a_strncmp() to util.h and use a_str*() functions everywhere 2007-09-24 17:58:50 +02:00
Julien Danjou 9a97c13804 add a_strcpy() function to util.c 2007-09-24 16:44:36 +02:00
Julien Danjou df75e01ce0 add a_strncpy functions 2007-09-24 16:42:04 +02:00
Julien Danjou dcec6aa749 remove screen arg from uicb* 2007-09-18 19:53:52 +02:00
Julien Danjou 2222164c27 add a die() function to util 2007-09-16 22:51:28 +02:00
Julien Danjou 58abf74d43 spawn X client in the right head and add screen arg to layouts 2007-09-16 01:36:26 +02:00
Julien Danjou 933b0413ea add screen arg to uicb* 2007-09-16 01:05:43 +02:00
Julien Danjou 35defcc4e8 add compute_new_value_from_arg() to do the +/- job in uicb fcts 2007-09-14 13:43:51 +02:00
Julien Danjou 4925ff0c7a rename spawn to uicb_spawn and fix buggy proto 2007-09-12 18:19:28 +02:00
Julien Danjou 1d9353eea7 cosmetic 2007-09-12 17:51:53 +02:00
Julien Danjou 28df49c3cb rename gettextprop to xgettextprop and move it to util.c 2007-09-12 15:01:35 +02:00
Julien Danjou 7659289b9e chance license to GPLv2 2007-09-12 14:29:51 +02:00
Julien Danjou 9f56ade4e9 use more safe functions and update #inlcude 2007-09-11 14:00:49 +02:00
Julien Danjou 6f528063be rename jdwm to awesome 2007-09-10 12:06:54 +02:00
Julien Danjou f7173bd79d first import 2007-09-05 20:15:00 +02:00