Commit graph

1362 commits

Author SHA1 Message Date
Julien Danjou
416b9cfdb4 simplify header inclusion 2008-01-26 18:12:56 +01:00
Julien Danjou
eebc77d15d update authors, add Marco Candrian & Hans Ulrich Niedermann 2008-01-26 18:02:57 +01:00
Julien Danjou
780a9d087a clean some stuff 2008-01-26 18:00:47 +01:00
Julien Danjou
c5f57d24d3 split out simple window handling 2008-01-26 17:58:01 +01:00
marco candrian
836942eb4c Fix for the problem that cairo draws over the given path on very sharp angles
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-26 17:38:20 +01:00
Julien Danjou
37b4f62258 always grab Button1 2008-01-26 13:11:12 +01:00
Julien Danjou
f9c9bc53c6 change default font 2008-01-26 11:52:36 +01:00
Julien Danjou
56e84597eb set floppy_raise_focus to false by default 2008-01-26 09:27:10 +01:00
MATSUU Takuto
363cefefee transparency rule support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 23:48:24 +01:00
Julien Danjou
c22430a115 fix handling of window raisings 2008-01-25 23:43:16 +01:00
Julien Danjou
8fc3d6b584 remove focus_move_pointer option 2008-01-25 23:28:55 +01:00
Julien Danjou
e32070cffb add sloppy_focus_raise option 2008-01-25 23:27:32 +01:00
Julien Danjou
a601553e3c unused var 2008-01-25 23:21:27 +01:00
Julien Danjou
4e677d242c remove allow_lower_float option 2008-01-25 23:21:09 +01:00
Julien Danjou
34bc4e8191 replace bad code for configurenotify 2008-01-25 23:15:27 +01:00
marco candrian
c73e0bd72e Additional graph widget options
There are the new styles:

bottom (fill the graph to the bottom of widget-square)
top (fill the graph to the top of the widget-square
line (just print a line representing the values)

E.g when there are multiple 'bottom'-style graphs, it will print the larger
part on top of the smaller.  When two values are the same, it will (actually)
just print it with one color (something to improve maybe).

bottom-style overdraws top-style, and line-style overdraws top and bottom style
(= gets drawn at the end)

An example configuration:

    graph gr_cpu
    {
      data { scale = false max = 100 fg = "#669966" style = bottom} # total
      data { scale = false max = 100 fg = "#cc9966" style = bottom} # user
      data { scale = false max = 100 fg = "#ffffff" style = bottom} # nice-processes
      width = 50
      height = "0.80"
      bg = "#000000"
      bordercolor = "#669966"
    }

With the 'line' style, there is a bug (draws sometimes over the rectangle).
I checked the values and didn't find any value what actually should do that.
So I have no idea why that is... needs a recheck, because it's not really nice..
Happens especially when scale=true and after a rescaling takes place.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 22:53:20 +01:00
marco candrian
03743e1f0b Documentation for the new graph options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 22:53:20 +01:00
Julien Danjou
6f1e1e1abe handle focus history on arrange() 2008-01-25 22:50:18 +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
e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

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
367b4d48fb Revert "rewrite focus() a bit"
This reverts commit 652c1459ba.
2008-01-25 00:51:11 +01:00
Julien Danjou
dcde59df02 warn() on XErrors 2008-01-25 00:07:16 +01:00
Julien Danjou
652c1459ba rewrite focus() a bit 2008-01-24 23:58:56 +01:00
Julien Danjou
3855ced402 remove selscreen arg 2008-01-24 23:48:35 +01:00
Julien Danjou
5ade4d63e0 remove opacity_unfocused
this is crap
2008-01-24 23:45:04 +01:00
Julien Danjou
7073133e66 remove drop event infrastructure 2008-01-24 23:43:46 +01:00
Julien Danjou
4734a8af3d fix bar left position 2008-01-24 23:25:12 +01:00
Julien Danjou
0ab751c69b raise window on move 2008-01-24 22:22:52 +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
ce41ed1eeb return if no widget match 2008-01-24 20:28:45 +01:00
Julien Danjou
2a574a9cda cosmetic 2008-01-24 20:26:37 +01:00
Julien Danjou
30256b3be3 cosmetic 2008-01-24 20:24:16 +01:00
Julien Danjou
0abb100adf use client_setfloating() in uicb_togglefloating() 2008-01-24 20:09:11 +01:00
Julien Danjou
a57d81237a stop waiting for events in queue 2008-01-24 19:14:49 +01:00
Julien Danjou
2ac27fdac4 move draw files to common/ 2008-01-24 18:48:11 +01:00
Julien Danjou
35803aff4c make draw functions more independant 2008-01-24 18:43:24 +01:00
Julien Danjou
82d9cec79d don't regive focus to already focused window 2008-01-24 18:31:44 +01:00
Julien Danjou
00f7cd006a save client props on floating 2008-01-24 18:31:14 +01:00
Julien Danjou
240ee786d1 rename nscreens to nscreen 2008-01-24 13:48:49 +01:00
Julien Danjou
5922d3a257 realloc smaller if xinerama_screen_number != screen registered 2008-01-24 13:45:20 +01:00
Julien Danjou
e84d614377 replace some code using switch and warn() 2008-01-24 10:47:01 +01:00
Julien Danjou
6396d08c25 kick out rotate option 2008-01-24 10:37:16 +01:00
Julien Danjou
595003b8e1 fix restart stuff 2008-01-23 20:58:05 +01:00