On Tue, Nov 30, 2010 at 1:22 PM, Joel Teichroeb wrote:
> Currently reject just calles drag_finish and does not bother with any fd
> stuff. In the future this should be extended to tell the compositor to
> do some kind of animation when a drag is rejected.
I ended up redoing this one as well - we
On Tue, Nov 30, 2010 at 1:22 PM, Joel Teichroeb wrote:
Thanks, committed.
Kristian
> ---
> clients/window.c | 18 ++
> 1 files changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/clients/window.c b/clients/window.c
> index 3860d1e..f720bf8 100644
> --- a/clients/window
On Tue, Nov 30, 2010 at 1:22 PM, Joel Teichroeb wrote:
> The window no longer assumes that the client wants to have text/plain
> and text/html draged onto it. The client will have to tell wayland about
> the things it wants dragged manually.
I ended up doing this a little differently. We need to
The DND client now sends a "application/x-wayland-dnd-flower" instead of
"text/plain".
Made each flower keep its own seed. This may change in the future, but
this is a good starting point.
Added a simple reference counter for dnd_offer so that it will be freed
if the flower is dragged out of the wi
Currently reject just calles drag_finish and does not bother with any fd
stuff. In the future this should be extended to tell the compositor to
do some kind of animation when a drag is rejected.
---
compositor/compositor.c | 13 -
protocol/wayland.xml|4
2 files changed,
The window no longer assumes that the client wants to have text/plain
and text/html draged onto it. The client will have to tell wayland about
the things it wants dragged manually.
---
clients/window.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/clients/window.c b/cli
---
clients/window.c | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 3860d1e..f720bf8 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1018,14 +1018,16 @@ handle_configure(void *data, struct wl_shell *shel
Here is the patch for it. My very first patch ever :).
2010/11/30 Christoph Frieben :
> dnd.c: In function ‘drop_io_func’:
> dnd.c:362:2: warning: passing argument 4 of ‘g_io_channel_read_chars’
> from incompatible pointer type
> /usr/include/glib-2.0/glib/giochannel.h:247:11: note: expected ‘gsiz
dnd.c: In function ‘drop_io_func’:
dnd.c:362:2: warning: passing argument 4 of ‘g_io_channel_read_chars’
from incompatible pointer type
/usr/include/glib-2.0/glib/giochannel.h:247:11: note: expected ‘gsize
*’ but argument is of type ‘unsigned int *’
Issued by GCC 4.5.1.
~C