Julien Danjou
335334225d
fix option parsing
2008-01-31 20:41:48 +01:00
Hans Ulrich Niedermann
c4345f1be4
Use getopt_long() in awesome
...
Simplify getopt_long usage in awesome-message.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-31 18:34:59 +01:00
Julien Danjou
4b412d86ff
split out config stuff
2008-01-31 16:34:00 +01:00
Julien Danjou
f2e64adb59
remove awesome-check, move that to an -k option to awesome
2008-01-31 10:21:03 +01:00
Julien Danjou
606d157e31
rename some screens function
2008-01-30 09:36:52 +01:00
Julien Danjou
ab8d95f13d
rework include
2008-01-29 11:27:14 +01:00
Julien Danjou
485614f2df
rewrite focus handling
...
- arrange() does not focus() anymore
- restore dropping events infra
- add client_unfocus()
- grabbuttons() where we should and add root_grabbuttons() for root window
2008-01-25 22:37:49 +01:00
Hans Ulrich Niedermann
b457c4b4c9
Common version message for awesome and -client
...
At every build ("make", "make all"), if necessary, this
version message will be updated.
Note that "make awesome{,-client}" will NOT update the
version message.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:33 +01:00
Hans Ulrich Niedermann
3d9c2e72fb
Compile executable with correct version number
...
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann
ad28e78d13
Use pre-defined values for build infos (ifdef)
...
Use information autoconf determines anyway (machine type
building for, name of machine building on).
Only print build information if it is actually available (defined).
Add descriptions to all AC_DEFINE* macro definitions.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou
8434040cb2
do not drop XSetInputFocus errors; but we can not give focus to unmapped windows
2008-01-25 09:37:41 +01:00
Julien Danjou
475a9da7af
reduce errors list allowed
2008-01-25 09:36:14 +01:00
Julien Danjou
dcde59df02
warn() on XErrors
2008-01-25 00:07:16 +01:00
Julien Danjou
7073133e66
remove drop event infrastructure
2008-01-24 23:43:46 +01:00
Julien Danjou
d6e5e810ab
add support for machine type too
2008-01-24 22:10:10 +01:00
Julien Danjou
00bf08178c
add some useless infos in version :-)
2008-01-24 21:57:55 +01:00
Julien Danjou
03bb2708b6
refresh stuff even in socket events
2008-01-24 20:43:06 +01:00
Julien Danjou
a57d81237a
stop waiting for events in queue
2008-01-24 19:14:49 +01:00
Julien Danjou
240ee786d1
rename nscreens to nscreen
2008-01-24 13:48:49 +01:00
Julien Danjou
595003b8e1
fix restart stuff
2008-01-23 20:58:05 +01:00
Julien Danjou
5c02326a1e
grab buttons on all root windows
2008-01-23 09:13:02 +01:00
Julien Danjou
d17c5c531e
detect clone screens (FS#42)
2008-01-22 20:41:10 +01:00
Julien Danjou
29eccefc44
stop using get_screen_count()
2008-01-22 18:37:48 +01:00
Julien Danjou
668702b777
move list.h and util.[ch] to common/
2008-01-21 18:14:59 +01:00
Julien Danjou
b54c405c17
cosmetic
2008-01-21 16:31:15 +01:00
Julien Danjou
83a0a4daf8
add a common infra to drop events
2008-01-21 16:31:15 +01:00
Julien Danjou
6e4d13c9dc
add a new cache system for arrange()ing
2008-01-21 16:31:15 +01:00
Julien Danjou
602d593af0
XSync after each event
2008-01-21 16:31:15 +01:00
Julien Danjou
4d117da0ec
preinit in config.c
2008-01-21 16:31:14 +01:00
Julien Danjou
5180613fe5
fix bug with statusbar recovering each others (FS#37)
2008-01-21 16:31:14 +01:00
Julien Danjou
b4793e0fef
move attribute noreturn
2008-01-21 15:57:24 +01:00
Hans Ulrich Niedermann
a34c277081
Catch too many awesome command line options
...
Also add --help option.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Julien Danjou
542df6a3ab
do not try to guess where we should XSync(), XSync after bunch of XEvents
2008-01-11 16:17:15 +01:00
Julien Danjou
121477db61
fix comment
2008-01-11 16:01:10 +01:00
Nikos Ntarmos
a245b2c033
restart on XRandR event
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:41:29 +01:00
Nikos Ntarmos
956ce4ab8e
add nscreen var to store screen count
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:39:48 +01:00
Julien Danjou
7d4747155a
grab root buttons click on first run
2008-01-11 12:01:56 +01:00
Nikos Ntarmos
09e878a166
Locale and international text in widgets
...
I just noticed that international (reads Greek) text is not rendered at
all in widgets. I traced it down to LC_CTYPE being non-empty in my
environment. Are there any objections to adding the setlocale(...) call
back in awesome.c:main(...)? I could set up a script emptying LC_CTYPE
and then exec'ing awesome, but I guess it's harmless to have awesome do
that internally. Unless I'm missing something...
2008-01-09 09:16:19 +01:00
Julien Danjou
5c9291ff0b
use a cache system for status bar
2008-01-07 18:12:38 +01:00
Julien Danjou
44e6edf4d1
add comment about XGetWA
2008-01-07 14:11:14 +01:00
Julien Danjou
7ad579898f
simplify unmanage code
2008-01-06 21:57:53 +01:00
Julien Danjou
cc871d3391
remove cleanup stuff, we don't need them, and they are not complete
2008-01-06 21:50:32 +01:00
Julien Danjou
9fc22e9e4e
remove some get_phys_screen() calls
2008-01-02 17:41:03 +01:00
Julien Danjou
437bc5c22c
add 2008 copyright notice
2008-01-02 16:59:43 +01:00
Julien Danjou
d402ae8f69
optimize rule usage
2008-01-02 12:44:18 +01:00
Julien Danjou
52920a849b
clean some awesome.c stuff
2007-12-31 10:10:49 +01:00
Julien Danjou
f7f6951957
allow to have several statusbar
2007-12-30 21:00:34 +01:00
Julien Danjou
6f4dec78ff
remove Display as arg from window_*() fcts
2007-12-30 15:24:51 +01:00
Julien Danjou
87fce96644
add support for NET_CLOSE_WINDOW
2007-12-27 20:49:38 +01:00
Julien Danjou
502f502e23
add support for _NET_NUMBER_OF_DESKTOPS
2007-12-27 18:26:50 +01:00