Commit Graph

7207 Commits

Author SHA1 Message Date
Julien Danjou de8dcbb724 replace drop_events arch by x,y pointer coordinates saving 2008-03-04 10:14:13 +01:00
marco candrian 317929baea Is the pointer inside client with including the borders...
it didn't reshift the pointer when the pointer was on the
right border (or even somebit in the client) because it didn't calculate
the border with to the dimensions.

Also, it wrapped the pointer inside the client. now it leaves it on the border
when that was the case before. Or on resizing (smaller) the pointer might also move
(relativ to the client) to the most outside point of the left or top border.

There is still the problem so:
the client gets moved/resize, the pointer might get out of the area temprarly and the
client loses the focus - despite that the pointer will reshifted onto it again.

A general: client_focus(sel, screen, False);
at the end seems to help, but is probably not clean etc.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-02 19:28:50 +01:00
Julien Danjou 8b8fc8148f add comments for simplewindow functions 2008-03-01 11:25:04 +01:00
Julien Danjou 5446071aef do not use cfg_print() to generate default configuration file: fwrite() the default one 2008-02-29 15:36:13 +01:00
Julien Danjou 0621a33130 add include() statement in awesomerc manpage 2008-02-29 09:55:39 +01:00
Julien Danjou 950c9b0820 support for include() in configuration file 2008-02-29 09:54:03 +01:00
Julien Danjou 86927a9e7e textbox can be flex-aligned 2008-02-28 16:19:38 +01:00
Julien Danjou 46b80552c6 add support for flex -> AlignFlex 2008-02-28 16:19:26 +01:00
Julien Danjou d7e679d2d7 add widget name in warnings 2008-02-28 16:19:03 +01:00
Julien Danjou 19ffbf6e0f move awesomerc manpages to section 5 (File format) 2008-02-28 12:36:17 +01:00
marco candrian 271bf8da4a border width taken into account on pointer movement
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-28 10:28:07 +01:00
marco candrian f604d4dbdd client_moveresize fix
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-28 07:54:45 +01:00
Julien Danjou 914f00f3b8 Merge branch 'master' of ssh://git.naquadah.org/var/cache/git/awesome 2008-02-27 11:38:32 +01:00
Julien Danjou 46742a56e4 documentation update and some cosmetic 2008-02-27 09:32:45 +01:00
Julien Danjou 3ccf163357 fix awesome-version-internal define 2008-02-27 09:09:38 +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 c1f06b3d3f documentation update 2008-02-27 09:00:42 +01:00
Michael Kaminsky 6fb68f5d90 Fix segfault after viewing same tag twice and doing a tag_prev_selected.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-26 22:22:38 +01:00
Julien Danjou 7a1208ad8a fix argv copy 2008-02-26 17:52:56 +01:00
Julien Danjou e5038732ca check if the unmapped client is not the scratchpad 2008-02-26 17:45:55 +01:00
Julien Danjou b7d79d8bea use physical screen 2008-02-26 07:15:24 +01:00
Julien Danjou f54ff424a0 check widgets position 2008-02-25 20:09:19 +01:00
Julien Danjou 960d870b0b fix screen_get_bycoord() 2008-02-25 13:40:30 +01:00
Julien Danjou 328e5d0d4e rename screen to phys_screen to avoid confusion 2008-02-25 13:33:29 +01:00
marco candrian 73696a26a9 cairo_destroy() added
(at least partly related to: FS#68 - awesome eats cpu time)

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-25 10:01:42 +01:00
Julien Danjou dfef818e8f do not die on unknown placement: take the first one 2008-02-13 18:26:08 +01:00
Julien Danjou 313b436be7 finish list with NULL 2008-02-13 18:23:32 +01:00
Julien Danjou 09d319ab07 fix LEFT and TOP offscreen appearance 2008-02-13 18:19:37 +01:00
Julien Danjou eda9ec3910 add under_mouse placement aglo 2008-02-13 18:14:34 +01:00
Julien Danjou 1e3f3d9300 floating placement can be chosen by config 2008-02-13 18:04:20 +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
marco candrian 070ec6dbcd little memory leak fix *shrug*
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-13 09:04:32 +01:00
Julien Danjou ae75f55acd change draw_color_new() proto to fill the struct and return status 2008-02-13 08:58:21 +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 a84eae2700 fix stacking issues 2008-02-12 14:39:52 +01:00
Julien Danjou 68affe21fd do not draw win that skip focus 2008-02-12 10:29:41 +01:00
Julien Danjou 768aef8960 check transient and isfixed for setting floating state, even if we can loadprops 2008-02-12 10:19:59 +01:00
Julien Danjou 1b63e8a3c5 rename get_current_layout to layout_get_current() 2008-02-12 10:09:36 +01:00
Julien Danjou e0099da269 use get_current_layout() 2008-02-12 10:08:16 +01:00
Julien Danjou 2ca938e18e set skip focus on skip taskbar 2008-02-12 10:06:19 +01:00
Julien Danjou 95fc524993 set widget alignment for graph 2008-02-11 19:01:48 +01:00
Julien Danjou 9390abcfb4 fix memory leak in smart_placement (with area_list_remove) and fix the algo 2008-02-11 17:15:28 +01:00
Hans Ulrich Niedermann 593f92c24d Check whether 'xmlto man' actually works
If xmlto is present, create a very simple example man page by
running 'xmlto man'. Only generate man pages at "make all" time
if this works.

The check is a little lenthy, so we might want to put it into
a separate .m4 file some time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:35 +01:00
Hans Ulrich Niedermann d68ba7fa12 Generate man pages IFF doc tools are present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:23 +01:00
Hans Ulrich Niedermann f42f138f78 More verbose warnings if doc tools not present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:10 +01:00
Hans Ulrich Niedermann 2fafec9dc3 Ship forgotten UPGRADE file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:05:58 +01:00
Julien Danjou e244210943 return the right buffer, iconv modify one 2008-02-11 10:52:05 +01:00
Julien Danjou 1a643a20bd simplify buf handling 2008-02-11 10:40:38 +01:00