Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Julien Danjou
At 1245756208 time_t, Uli Schlachter wrote: +size = width * height; Seems unused. +static void +do_update_shape(xcb_window_t win, xcb_shape_kind_t kind, image_t *image, int offset) +{ +xcb_pixmap_t shape; + +if(!image) +{ +/* Reset the shape */ +shape

Re: Modularization Help

2009-06-23 Thread Andrei Thorp
I think I understand :) local mouse = mouse -local awful = awful +local awful = require(awful) Riiight... local widget = widget local screen = screen local io = io +local beautiful = require(beautiful) Whoops, missed that one. + +module(obvious.popup_run_prompt) So this should go on top?

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julien Danjou wrote: At 1245756208 time_t, Uli Schlachter wrote: +size = width * height; Seems unused. Seems you are right. http://git.znc.in/?p=psychon/awesome.git;a=commitdiff;h=56d73102ea8995c911664f0203f77f7a3dc0767d +static void

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Julien Danjou
At 1245761941 time_t, Uli Schlachter wrote: Uhm, how would I do that? I would need to do some evil math with cos and sin for this and then loop through the single pixels... I'm not a geometry expert but if you need to draw a top left corner: ++ |1 / | |/ 2 | ++ (1 is being

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julien Danjou wrote: At 1245761941 time_t, Uli Schlachter wrote: Uhm, how would I do that? I would need to do some evil math with cos and sin for this and then loop through the single pixels... I'm not a geometry expert but if you need to

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Maarten Maathuis
Could the interface be simplified to leave the border related calculations on the C side? This was done for geometry to make the code clearer, is there any reason to not do that here? Maarten. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Julien Danjou
At 1245766970 time_t, Maarten Maathuis wrote: Could the interface be simplified to leave the border related calculations on the C side? This was done for geometry to make the code clearer, is there any reason to not do that here? Because you can have border that are not regular I guess. --

[Obvious] ?

2009-06-23 Thread Andrei Thorp
Hello developer-types. I figured I'd ask first before I started doing this. Would it be fine for Obvious related stuff to be forwarded to this mailing list? It'd be similar kinds of pull request/patch type stuff, and it's very much related to Awesome. I'm also putting into the new CONTRIBUTING

Re: [Obvious] ?

2009-06-23 Thread Julien Danjou
At 1245769715 time_t, Andrei Thorp wrote: Hello developer-types. I figured I'd ask first before I started doing this. Would it be fine for Obvious related stuff to be forwarded to this mailing list? I'm not sure it's a good idea. That would brings probably more than a ten thousand of users and

Re: [Obvious] ?

2009-06-23 Thread Andrei Thorp
Excerpts from Julien Danjou's message of Tue Jun 23 11:20:11 -0400 2009: At 1245769715 time_t, Andrei Thorp wrote: Hello developer-types. I figured I'd ask first before I started doing this. Would it be fine for Obvious related stuff to be forwarded to this mailing list? I'm not sure

Re: [Obvious] ?

2009-06-23 Thread Gregor Best
On Tue, Jun 23, 2009 at 05:20:11PM +0200, Julien Danjou wrote: At 1245769715 time_t, Andrei Thorp wrote: Hello developer-types. I figured I'd ask first before I started doing this. Would it be fine for Obvious related stuff to be forwarded to this mailing list? I'm not sure it's a good

[Obvious] CONTRIBUTING Guide Pull Request

2009-06-23 Thread Andrei Thorp
The following changes since commit 35f772a9af98423fa3819d736ec24fc4f6fe9bd0: Gregor Best (1): clock: make path for todo file more explicit are available in the git repository at: g...@git.mercenariesguild.net:obvious.git contributing Andrei 'Garoth' Thorp (2): CONTRIBUTING:

Re: [Obvious] ?

2009-06-23 Thread Andrei Thorp
Excerpts from Gregor Best's message of Tue Jun 23 11:29:32 -0400 2009: On Tue, Jun 23, 2009 at 05:20:11PM +0200, Julien Danjou wrote: At 1245769715 time_t, Andrei Thorp wrote: Hello developer-types. I figured I'd ask first before I started doing this. Would it be fine for Obvious related

Re: [Obvious] CONTRIBUTING Guide Pull Request

2009-06-23 Thread Gregor Best
And in Julien's best spirit, I say: Thanks, merged. -- GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o-- K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+ e- h! r y+ Gregor Best pgpz6DsUm7xxq.pgp Description: PGP signature

Re: [Obvious] CONTRIBUTING Guide Pull Request

2009-06-23 Thread Andrei Thorp
Excerpts from Gregor Best's message of Tue Jun 23 13:09:01 -0400 2009: And in Julien's best spirit, I say: Thanks, merged. Yeah, I always enjoyed how he resolved the e-mails on the mailing list rather than just merging silently. -- Andrei Thorp, Developer: Xandros Corp.

Re: [Obvious] CONTRIBUTING Guide Pull Request

2009-06-23 Thread Julien Danjou
At 1245777325 time_t, Andrei Thorp wrote: Yeah, I always enjoyed how he resolved the e-mails on the mailing list rather than just merging silently. That's better than having the guy monitoring the branch always to see if his patch has been accepted, and also helps keeping track of forgotten

[awesome bugs] #538 - System tray and epiphany : temporary download icon let a free space (Attachment added)

2009-06-23 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below. User who did this - julien (Sirsurthur) Attached to Project - awesome Summary - System tray and epiphany : temporary download icon let a free space Task Type - Bug Report Category - Core

Re: [Patch] SHAPE stuff *again*

2009-06-23 Thread Maarten Maathuis
I wasn't expecting custom borders, so ignore me. Maarten. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.