Julien Danjou
ff23b67c65
[hooks] Initialize lastrun to 0
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-01 19:00:31 +02:00
Julien Danjou
b202b22314
[hooks] Fix timer resolution
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:43:28 +02:00
Julien Danjou
01fe4e3331
[statusbar] Remove multi-threading code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 16:04:46 +02:00
Michael Gehring
b7a57f2a62
remove bogus commandline options
...
-k and -s are not implemented so remove them.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 08:32:23 +02:00
Michael Gehring
b62fda99c3
exit if loading/parsing of configuration file fails
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 19:58:21 +02:00
Julien Danjou
83534783c0
[awesomerc] Add a default hook timer to have time
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 18:50:09 +02:00
Julien Danjou
994f7abbc1
[lua] Add a timed hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 13:47:11 +02:00
Julien Danjou
b1467494ea
Revert "[lua] Add a hook on standard fd activity"
...
This reverts commit 785c41f089
.
Too much potential deadlock problems.
2008-05-27 16:36:06 +02:00
Julien Danjou
785c41f089
[lua] Add a hook on standard fd activity
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 15:56:14 +02:00
Julien Danjou
a0b24c5505
[statusbar] Implement multi-threading per statusbar
...
More more efficient than before.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 11:17:51 +02:00
Julien Danjou
7cdba19a56
[layout] Stop starting a thread for layout freshing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 11:01:57 +02:00
Julien Danjou
21ae849d9f
Rename VirtScreen to screen_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 09:01:49 +02:00
Julien Danjou
0bbd2d4b3e
Rename AwesomeConf to awesome_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 08:59:27 +02:00
Julien Danjou
be108acc32
[util] warn() and eprint() now print \n
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 22:56:05 +02:00
Julien Danjou
495b99f1c5
[focus] Rewrite focus handling on arrange.
...
Also add some documentation.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 22:48:27 +02:00
Julien Danjou
7a5326e0ff
[awesome] Initialize glib thread system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 18:04:44 +02:00
Julien Danjou
a953b57a87
[awesome] Make layout and statusbar refresh threaded
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 15:33:08 +02:00
Julien Danjou
3c6f9a8fa0
Revert "[awesome] Remove the two level event loops"
...
This reverts commit 88c9671ab1
.
Conflicts:
awesome.c
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 15:28:39 +02:00
Julien Danjou
819ba3f191
[layout] Change {layout,statusbar}_refresh proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 14:40:16 +02:00
Julien Danjou
88c9671ab1
[awesome] Remove the two level event loops
...
This should not be needed anymore with XCB.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 12:04:50 +02:00
Julien Danjou
1f046b3c9f
[everything] Switch from libconfuse to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00
Arnaud Fontaine
162b8a690c
[all] Implement an atom cache in xutil as an ordered linked-list
2008-05-11 01:10:37 +02:00
Julien Danjou
ab321f0c17
[awesome] use EXIT_FAILURE as exit code on error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 15:34:58 +02:00
Julien Danjou
effaa99b91
[awesome] Remove useless includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:35 +02:00
Julien Danjou
dc27cff8ab
[awesome] Remove checking for value before p_delete()'ing memory
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:35 +02:00
Julien Danjou
9058bd1fd3
[dbus] Poll on dbus connection fd
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:06 +02:00
Julien Danjou
de3fbffcf1
[xutil] Rewrite gettextprop() proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:06 +02:00
Julien Danjou
b348af16e2
[dbus] first support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:04 +02:00
Julien Danjou
7405ff9a68
[events] resync after leaving the while loop
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Arnaud Fontaine
059829e37e
[xutil] check whether the error code and request are actually defined
2008-05-03 12:01:03 +02:00
Julien Danjou
d1635db59f
[client] Rename Client type to client_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
a73b07f5d3
[statusbar] Rename Statusbar type to statusbar_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
28ca287d7d
[uicb] Rename functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Julien Danjou
ea7c1ceeb3
[ewmh/awesome] Comsmetics
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Julien Danjou
a664203639
[xutil/awesome] Cosmetic
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Julien Danjou
ef07db2bd4
[scan] Remove alloca() usage and simplify some stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Arnaud Fontaine
216f7f16f2
[awesome] Send geometry requests and then process the replies in scan()
2008-05-03 12:01:01 +02:00
Arnaud Fontaine
d2383012f7
Remove xsync option (no XCB equivalent of XSynchronize)
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
70dafae396
Move xcb_event_handler code to xutil
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
71e9100927
Remove useless xutil_root_window()
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
fa5bc02103
Fix incorrect porting of XCreateFontCursor()
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
6db3cd48d8
Get properly windows geometry when handling existing windows at Awesome startup
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
02c99fccb8
Prefix xutil functions properly
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
1eab0e44e7
* Make key symbols table, NumLock, ShiftLock and CapsLock global variables.
...
* Get CapsLock and ShiftLock masks properly and fix XLookupString() XCB equivalent.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
bcdc000e2c
Fix typo when checking GetGeometry reply
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
4a1720ddca
Remove useless x_select_input() which leaded to useless requests
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
dafafd077c
Port Awesome to XCB
2008-05-03 12:00:59 +02:00
Fabienne Ducroquet
b12a5235a5
[doc] Fix some typos, modify a few descriptions
...
Before awesome 2.3 release, I've decided to look for typos in the
awesome* manpages, here is the result. I've also modified some options'
descriptions that I didn't find very clear, I hope I have not
added/missed too many mistakes as I'm not a native English speaker...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-11 07:34:45 +02:00
Julien Danjou
68c14355af
[events] Stop handling LeaveNotify events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 13:17:33 +02:00
Julien Danjou
680555a317
[bobmarley] Stop grabbing Motion events
...
That fails in GTK+ apps anyway
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 11:39:11 +02:00
Julien Danjou
841ce84ed9
[doc] Update a bunch of documentation for uicb; set transparency to be between 0 and 1
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 20:07:13 +02:00
Julien Danjou
507ef3c21d
Fix -c option, and make -k accept -c option better
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 21:35:34 +01:00
Julien Danjou
1d468c5583
Lot of cosmetic changes: proto change, etc.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
21277ad12b
Simplify scan() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
accf223bb1
Use warn() instead of perror()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
2c0b68cd4e
Add --sync option
2008-03-23 15:52:20 +01:00
Julien Danjou
a0ba05b904
Oops.
2008-03-23 15:52:18 +01:00
Julien Danjou
355b7d67b3
Change screen_get_bycoord() proto to take ScreensInfo as arg, and speed up things
2008-03-23 15:52:17 +01:00
Julien Danjou
0bde5c9e29
Move some screen functions from screen.c to new common/xscreen.c
2008-03-23 15:52:17 +01:00
Julien Danjou
0cd969bfb9
Split screen_build_screen() into more generic code and type: screeninfos_new()
2008-03-23 15:52:17 +01:00
Julien Danjou
28af9e7e61
Replace perror() with warn()
2008-03-23 15:52:17 +01:00
Julien Danjou
bd2f4a212e
Move grabkeys() out of event, and move it into window; clean and remove setup() function in awesome.c
2008-03-06 16:18:01 +01:00
Julien Danjou
dd9a1b99c4
Rename events functions from handle_event... to event_handle
2008-03-06 09:09:59 +01:00
Julien Danjou
ee55e9f77a
ignore BadMatch error for XConfigureWindow() calls
2008-03-04 12:56:43 +01:00
Julien Danjou
de8dcbb724
replace drop_events arch by x,y pointer coordinates saving
2008-03-04 10:14:13 +01:00
Julien Danjou
11b0982a58
rename awclient.[ch] to socket.[ch]
2008-02-27 09:07:52 +01:00
Julien Danjou
6fd3801ef0
rename awesome-version.[ch] to version.[ch]
2008-02-27 09:04:17 +01:00
Julien Danjou
7a1208ad8a
fix argv copy
2008-02-26 17:52:56 +01:00
Julien Danjou
960d870b0b
fix screen_get_bycoord()
2008-02-25 13:40:30 +01:00
marco candrian
4ff0dae17e
trailing whitespaces removed
...
like:
find . -iname "*.txt" -o -iname "*.c" -o -iname "*.h" | xargs sed -i 's/\s\+$//'
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-13 09:05:10 +01:00
Julien Danjou
0b6129e625
remove {load,save}awesomeprops()
...
this is too bugged
2008-02-12 15:43:57 +01:00
Julien Danjou
83e58a3a73
check that loadawesomeprops() set view on at least one tag
2008-02-12 15:30:48 +01:00
Julien Danjou
2eeeeaf7e4
drop error about killing client already killed
2008-02-08 16:06:01 +01:00
Julien Danjou
b6a62e47ea
add --check and --config, better usage printing
2008-02-04 14:48:44 +01:00
Julien Danjou
35b4005b7a
unban() all clients before execing or quitting awesome
2008-02-04 14:43:20 +01:00
Julien Danjou
520d59e0df
simply ignore XSetInputFocus errors
2008-02-01 14:41:13 +01:00
Julien Danjou
cbf85c1902
prioritize UnmapEvent-s
2008-02-01 10:52:08 +01:00
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