Commit graph

1392 commits

Author SHA1 Message Date
Julien Danjou
c3aeedfa24 better use of the space in smart placement 2008-01-29 09:13:35 +01:00
Julien Danjou
31b5b709f6 remove unused function 2008-01-29 08:56:23 +01:00
Julien Danjou
42d4686282 change padding_left to padding for progressbar 2008-01-29 08:44:16 +01:00
Julien Danjou
d9298f6edb rename get_current_tags to tags_get_current() 2008-01-29 08:31:13 +01:00
Julien Danjou
3d66b0c7d0 move define 2008-01-29 08:23:20 +01:00
Julien Danjou
ee1214846e rename some client functions 2008-01-29 08:21:05 +01:00
Julien Danjou
9c7bbad840 respect border widths 2008-01-28 20:16:54 +01:00
Julien Danjou
ea57fd8fc9 add support for smart windows placement in floating layout 2008-01-28 18:30:23 +01:00
Julien Danjou
e233c2bfab drop some EnterWindow events on swap/zoom 2008-01-28 16:46:31 +01:00
Julien Danjou
05d204efcb maximized windows shouldn't be handled 2008-01-28 15:52:07 +01:00
Julien Danjou
b016919d59 use client's screen here 2008-01-28 12:28:25 +01:00
Julien Danjou
9733c6955c remove printf() 2008-01-28 12:05:23 +01:00
Julien Danjou
d48ad7e10a add area_match_coords() and area_match_area() 2008-01-28 11:56:42 +01:00
Julien Danjou
75d57960de type: screen != phys_screen 2008-01-28 11:44:57 +01:00
Julien Danjou
9f68db5360 use c->screen geometry, not display's 2008-01-28 11:43:37 +01:00
Julien Danjou
4270d8bba6 better between-screen-moving handling, and allow for live re-arrange()-ing 2008-01-28 11:32:55 +01:00
Julien Danjou
6ab7121c49 allow to refresh layout when resizing to see in live what's happening 2008-01-28 11:05:32 +01:00
Julien Danjou
914e908aa8 handle screen changes 2008-01-28 11:03:19 +01:00
Julien Danjou
a73d635146 windows can be swaped with mouse in tiled layout 2008-01-28 10:37:47 +01:00
Julien Danjou
7f93559939 fix header 2008-01-27 19:10:43 +01:00
Julien Danjou
3d74f42446 tmp_color can be uninitialized 2008-01-27 19:10:15 +01:00
Julien Danjou
a0bef6d49e missing include 2008-01-27 19:08:11 +01:00
Julien Danjou
95d5fe299e rename focus() to client_focus() 2008-01-27 19:07:39 +01:00
Julien Danjou
30eba52596 rename draw_get_context() to draw_context_new() 2008-01-27 19:02:08 +01:00
Julien Danjou
c26d5242d5 use draw_color_new() 2008-01-27 18:59:12 +01:00
Julien Danjou
b6642e45c8 rename initxcolor to draw_color_new() and move it to draw.c 2008-01-27 18:56:37 +01:00
Julien Danjou
16607e39e6 use a boolean value 2008-01-27 18:55:03 +01:00
Julien Danjou
46f42de45f rename to awesome-message to be respect awesome naming scheme 2008-01-27 15:53:28 +01:00
Julien Danjou
af4c6d6d58 first proto of awmessage 2008-01-26 21:41:34 +01:00
Julien Danjou
bb7acb755c ignore awesome-version-internal.h 2008-01-26 19:16:31 +01:00
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