Commit Graph

839 Commits

Author SHA1 Message Date
Nathan Hüsken 9524f15478 Adding padding 2007-11-28 11:00:48 +01:00
Nikos Ntarmos 355dc7d556 fix rules handling in configurequest events 2007-11-27 16:48:06 +01:00
Nikos Ntarmos 963bef908e Move string manipulation of the DISPLAY env var into get_client_addr
awesome-client.c manipulates the string returned from getenv("DISPLAY"),
removing anything after the first dot ('.'). awesome.c however has no
such thing, leading to awesome listening on a '...0.0' socket. Anyway,
this seems like something that should be in get_client_addr as opposed
to hardwired in awesome-client.c or awesome.c. The attached patch moves
it into awesome-client-common.c:get_client_addr() and teaches
awesome-client.c of the change.
2007-11-27 14:09:21 +01:00
Arnaud Fontaine ece6bb27f3 check whether atoi success 2007-11-26 18:42:30 +01:00
Julien Danjou de8ea9dde4 change defaut tag name to letters 2007-11-26 17:07:30 +01:00
Julien Danjou 37fae50fbe close csfd 2007-11-26 10:49:59 +01:00
Julien Danjou e0a72e79ac use $DISPLAY 2007-11-26 10:49:22 +01:00
Julien Danjou 1722520a2a add some comments to explain len computing 2007-11-26 09:52:55 +01:00
Julien Danjou 359ff93666 cosmetic 2007-11-26 09:48:03 +01:00
MATSUU Takuto a991759ccb fix parallel make install 2007-11-25 20:43:27 +01:00
Julien Danjou db22906ba0 add CFG_END for mouse bindings where missing in config parser
Thanks rcs.
2007-11-22 10:48:09 +01:00
Julien Danjou 2693631447 split doc and binary build 2007-11-22 09:09:58 +01:00
Nikos Ntarmos 22655a20b2 manpage generation more BSD friendly 2007-11-22 09:03:57 +01:00
Nikos Ntarmos 7c361ab884 change echo -e lines to be BSD friendly 2007-11-22 09:03:54 +01:00
Nikos Ntarmos c824915f9e remove awesome manpage on clean target 2007-11-22 09:02:41 +01:00
Nikos Ntarmos b1d20f7537 use another asciidoc format for better support on other OS 2007-11-22 08:57:29 +01:00
Julien Danjou 226d718634 make uicb_screen_focus{prev,next} honor tag->client_sel 2007-11-21 17:18:42 +01:00
Julien Danjou 3f8bff5bef fix comment 2007-11-21 15:06:30 +01:00
Julien Danjou 63a2bfb7a3 use asciidoc to render man page 2007-11-21 14:29:16 +01:00
Julien Danjou 9bdf2b6fc2 rename raw to unstrip 2007-11-21 14:17:27 +01:00
Julien Danjou ae93ae7780 add comments to awesomerc 2007-11-21 12:50:23 +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 279baed9c6 add GNU/Hurd workaround
thanks Fabienne Ducroquet
2007-11-19 20:43:53 +01:00
Nikos Ntarmos 1a829fd76d Make awesome-client exit with a meaningful value on error
As discussed on #awesome, the attached patch makes awesome-client exit
with a meaningful value (i.e. that of errno) when it encounters an
error. Since the most frequent error with awesome-client is a mismatch
in the socket path, there is an explicit case for ENOENT errors. I
thought of adding a matching fprintf in awesome.c, but you can tell what
socket awesome is listening on by looking at what ~/.awesome_ctl.* file
you have.

CAVEAT: Exiting on error may break setups such as:

	while true; do
		echo "some text"
	done | /path/to/awesome-client

which relied on awesome-client continuing to send to the given socket
(although failing) until EOF was encountered on stdin.
2007-11-19 20:42:06 +01:00
Toshihide Shimayama 1ff5740104 uicb_client_zoom() on nmaster swap with next window 2007-11-17 08:37:42 +01:00
Julien Danjou 51911613c5 handle uicb_client_toggletag() with no args or with i > ntags 2007-11-16 22:07:58 +01:00
Julien Danjou d46f740a39 check for int value in uicb_tag_toggleview() 2007-11-16 22:03:26 +01:00
Julien Danjou 037d6aea59 fix bug with arg is NULL in uicb_client_tag() 2007-11-16 21:56:31 +01:00
Julien Danjou 7808e2f8b0 ignore cp errors 2007-11-16 20:23:28 +01:00
Julien Danjou c412b05b3c small fix for maximize() in floating layout 2007-11-16 19:14:08 +01:00
Nikos Ntarmos af0eab0322 delete key->arg on cleanup 2007-11-15 17:21:38 +01:00
Nikos Ntarmos 3a6cd243e4 fix reloadconfig segmentation fault
needed because keys arrays is freed so we can't access it again
2007-11-15 17:20:22 +01:00
Julien Danjou 3f203e3327 remove old screen client_sel if needed 2007-11-15 15:44:16 +01:00
Julien Danjou f3102efc39 retag window on configurerequest 2007-11-15 15:43:58 +01:00
Julien Danjou e50041ab10 also update rcoords on configure request 2007-11-15 15:14:40 +01:00
Julien Danjou dd2c511181 move_client_to_screen() implies tag_client_with_current_selected() 2007-11-15 14:49:08 +01:00
Julien Danjou aa4de56ef5 simplify client_manage() 2007-11-15 14:44:43 +01:00
Julien Danjou 0fa1b4c822 move UicbList in uicb.c 2007-11-15 14:41:03 +01:00
Julien Danjou 2da4d0d907 cosmetic 2007-11-15 13:25:59 +01:00
Julien Danjou bf37316aad rework Button bindings freeness 2007-11-15 12:15:14 +01:00
Julien Danjou dae3bcd2c7 remove _ on view_prev and view_next to be homogeneous 2007-11-14 21:38:25 +01:00
Julien Danjou d2e297bfa6 fix bug with configure request windows
I KILLED TEH MPLAYER BUG 11!11
2007-11-14 21:30:08 +01:00
Julien Danjou 0cbcee5d0f add allow_lower_floats = false by default 2007-11-14 19:51:31 +01:00
Julien Danjou e43df90214 remove mouse modkey 2007-11-14 19:50:30 +01:00
Julien Danjou d9e5346048 print unknown command in config files on stderr 2007-11-14 18:28:28 +01:00
Julien Danjou d5f532d723 fix some mouse and key bindings 2007-11-14 18:28:18 +01:00
Julien Danjou 10300c2b0a add default mouse binding for layout 2007-11-14 18:20:44 +01:00
Julien Danjou 938850a487 rename setlayout to tag_setlayout 2007-11-14 18:19:00 +01:00
Julien Danjou 7c533b8b40 rename screen uicb correctly 2007-11-14 18:16:43 +01:00
Julien Danjou 895c3848eb rename uicb_*mouse to uicb_client_*mouse 2007-11-14 18:14:23 +01:00