Taiwins 0.3 is out

2021-04-29 Thread Sichem Zhou
Hi all, I am glad to announce that Taiwins 0.3 is released today. It has been a year since Taiwins 0.1 release, we have migrated from libweston and wlroots. This version, Taiwins has implemented enough compositor features. The biggest change in the version is the libtaiwins library is finally read

Re: Drag & Drop - multiple wl_data_device/wl_seat interfaces

2021-04-28 Thread Sichem Zhou
Hi Martin, There was an attempt MR [1] try to fix the firefox copy/paste issue last year. You sure the clipboard is working correctly under weston? I just checked you still can't paste anything to firefox. [1]: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/426 Le mar. 20 avr. 2

Re: Taiwins 0.2.9 is out

2021-02-10 Thread Sichem Zhou
ering, compared to when I started 5 years ago :). Then if you find anything you don't like, needs fixing, I am always here. Cheers, Xichen [1] https://github.com/taiwins/taiwins/blob/master/docs/libtaiwins.md On Tue, Feb 2, 2021 at 11:08 PM Sichem Zhou wrote: > > Hi Roman, > > L

Re: Taiwins 0.2.9 is out

2021-02-02 Thread Sichem Zhou
Hi Roman, Le mar. 2 févr. 2021 20 h 36, Roman Gilg a écrit : > > On Sun, Jan 31, 2021 at 4:40 PM Simon Ser wrote: > > > > Hi, > > > > On Sunday, January 31st, 2021 at 3:41 PM, Sichem Zhou > > wrote: > > > > > Back in September 2020, I r

Taiwins 0.2.9 is out

2021-01-31 Thread Sichem Zhou
Hi folks, I would like to announce an 0.2.9 release of Taiwins project. Back in September 2020, I released the 0.2 version of Taiwins, which was utilising wlroots for backend handling. I have gone on implementing backend logics and Laid out most of the ground work. Now Taiwins has a new release an

Taiwins 0.2 is out

2020-09-17 Thread Sichem Zhou
Hi all, A long while ago [1]. I introduced the Taiwins wayland compositor. It was built upon libweston. It turned out despite my attempts, I couldn't get my patches to merge in libweston. Libweston has quite a few bugs and missing features to fit the role of a daily driver. These past few months,

Introducing taiwins, a compact wayland compositor

2020-05-12 Thread Sichem Zhou
Hi All, I would like to present the Taiwins wayland compositor, a tiling window manager based on libweston. I created this project aiming for a compact but yet versatile wayland window manager, like a swiss army knife. It offers a built-in shell for providing wallpaper, panel, widgets and locker.

When `wl_resource_destructor` gets called after `wl_proxy_destroy` called on the client sides.

2019-10-09 Thread Sichem Zhou
Hi wayland devs, I have a question regarding the life span of wayland objects. I know wayland is a asynchronous API, but is there a way to know when the wl_resource gets destroyed once `wl_proxy_destroy` in the clients? The use case is that clients creates some wl_objects on server signal and th

Re: How to attach multiple heads to one weston_output correctly.

2019-09-12 Thread Sichem Zhou
t : > On Wed, 11 Sep 2019 23:58:07 -0400 > Sichem Zhou wrote: > > > Hi wayland devs, > > > > I am trying to run multiple monitors in clone mode, which requires one > > output to drive multiple heads. While I can create output for every head > > and attach the

How to set monitors in clone mode

2019-09-11 Thread Sichem Zhou
Hi wayland devs, I am try to attach multiple `weston_head`s to one `weston_output` to run monitors the clone mode. While I can create output for every new head without problem. I can quite ___ wayland-devel mailing list wayland-devel@lists.freedesktop.or

How to attach multiple heads to one weston_output correctly.

2019-09-11 Thread Sichem Zhou
Hi wayland devs, I am trying to run multiple monitors in clone mode, which requires one output to drive multiple heads. While I can create output for every head and attach them with no problem (defaultly new output comes on the right). I can't quite get clone mode to work properly. Here is steps

Re: Anyway to update `xkb_keymap` after `wl_display_run` ?

2019-08-30 Thread Sichem Zhou
Forgot to paste the MR. https://gitlab.freedesktop.org/wayland/weston/merge_requests/257 Thanks, Sichem Le ven. 30 août 2019 22 h 01, Sichem Zhou a écrit : > Hi, > > I hope to make a follow up to this thread. I made a change and submitted > to MR but it seemed to gain little inte

Re: Anyway to update `xkb_keymap` after `wl_display_run` ?

2019-08-30 Thread Sichem Zhou
have some feedbacks. Thanks, Sichem Le lun. 26 août 2019 20 h 41, Sichem Zhou a écrit : > > > Le lun. 26 août 2019 12 h 06, Daniel Stone a > écrit : > >> Hi Sichem, >> >> On Mon, 26 Aug 2019 at 16:31, Sichem Zhou wrote: >> > Le lun. 26 août 2019 07 h

Re: Anyway to update `xkb_keymap` after `wl_display_run` ?

2019-08-26 Thread Sichem Zhou
Le lun. 26 août 2019 12 h 06, Daniel Stone a écrit : > Hi Sichem, > > On Mon, 26 Aug 2019 at 16:31, Sichem Zhou wrote: > > Le lun. 26 août 2019 07 h 30, Daniel Stone a > écrit : > >> On Mon, 26 Aug 2019 at 02:38, Sichem Zhou wrote: > >> > I found t

Anyway to update `xkb_keymap` after `wl_display_run` ?

2019-08-25 Thread Sichem Zhou
Hi wayland developers? I found that currently there is no way to change `xkb_keymap` after Weston is running. By different backends, xkb_info in wayland works differently, for example, the wayland and x11 backend, weston_keyboard is initialized with whatever the xkb_rules initialized in current e

Why so many Weston APIs were moved to libweston-internal.h

2019-08-16 Thread Sichem Zhou
Hi weston developers, I noticed the new weston(since version 6.0.91), it introduced a new internal header `libweston-internel.h`. Many useful APIs for compositor writers were moved here. For example, personally I heavily use temporary binding thus I use `weston_binding_destroy` to remove those bi

Is weston_view.geomtery are the global coordinates?

2018-12-22 Thread Sichem Zhou
Hi all, I am working on a Wayland compositor thanks to amazing` libweston` projects to provide the backend. I am at the point where I need to implement tiling window management algorithm. After reading through the `compositor.c`, I had a few confusions that I hope to get the correct understanding

Question regarding moving weston_output_from_resource to weston_head_from_resource

2018-08-28 Thread Sichem Zhou
Hi all, Yesterday I just updated my compositor from `libweston-4` to `libweston-5`. Great job on the new weston_head API. I've noticed the changes mapping `wl_output` to `weston_head` that I hope to pose a question on that: Since the `weston_output` represents a logical device and `weston_head` i

Re: How to release the weston_buffer after weston_view is destroyed.

2018-08-13 Thread Sichem Zhou
efactoring. Thanks, Sichem Le lun. 6 août 2018 04 h 44, Pekka Paalanen a écrit : > On Fri, 3 Aug 2018 18:04:36 -0400 > Sichem Zhou wrote: > > > Hi Pekka, > > > > Thanks for your reply. Yes, preferably if I can hide the map and unmap > from > > client, in this

Re: How to release the weston_buffer after weston_view is destroyed.

2018-08-03 Thread Sichem Zhou
`frame_signal`. It worked quite well. Regards, Sichem Le ven. 3 août 2018 07 h 49, Pekka Paalanen a écrit : > > On Sat, Jul 28, 2018 at 8:15 PM, Sichem Zhou > wrote: > > > > > Dear Weston devs: > > > > > > Sorry for the bothering in when weston-5.0

Re: Why do I require a `wl_event_loop_add_idle` in creating a fork-exec wayland client

2018-08-03 Thread Sichem Zhou
client or server. Regards, Sichem On Thu, Aug 2, 2018 at 11:46 PM, Markus Ongyerth wrote: > On 2018/7月/11 09:42, Sichem Zhou wrote: > > Hi All, > > > > I have a question related to the wl_client creation in the compositor. I > > followed these step like weston did:

Re: How to release the weston_buffer after weston_view is destroyed.

2018-08-02 Thread Sichem Zhou
. The commit can happen before receiving the last frame done. Which actually happened all the time. I hope this mail can also be helpful to others, I found a shell implementation is really tricky. Regards, Sichem Le dim. 29 juill. 2018 20 h 49, Sichem Zhou a écrit : > I actually found the re

Re: How to release the weston_buffer after weston_view is destroyed.

2018-07-29 Thread Sichem Zhou
, Jul 28, 2018 at 8:15 PM, Sichem Zhou wrote: > Dear Weston devs: > > Sorry for the bothering in when weston-5.0 is approaching, but I am stuck > in the project for three days I need some one's help very much. > > I have a widget implementation of shell widgets that destr

How to release the weston_buffer after weston_view is destroyed.

2018-07-28 Thread Sichem Zhou
Dear Weston devs: Sorry for the bothering in when weston-5.0 is approaching, but I am stuck in the project for three days I need some one's help very much. I have a widget implementation of shell widgets that destroys the weston_view when pressed Esc. The widget is implemented in wayland EGL. Her

Why do I require a `wl_event_loop_add_idle` in creating a fork-exec wayland client

2018-07-11 Thread Sichem Zhou
Hi All, I have a question related to the wl_client creation in the compositor. I followed these step like weston did: 1. create socketpair. 2. fork a process and close `socket[0]` in child, close `socket[1]` in in parent process. 3. set the `WAYLAND_SOCKET` to `socket[1]`. 4. exec the program. I

Re: What is wesron_plane?

2018-05-14 Thread Sichem Zhou
layer. Regards, Sichem Le lun. 14 mai 2018 04 h 50, Pekka Paalanen a écrit : > On Fri, 04 May 2018 19:32:44 + > Sichem Zhou wrote: > > > Hi all, > > > > Many data structure in libweston is straightforward, but I don't really > > know what does westo

Weston terminal failed to launch by forking

2018-05-11 Thread Sichem Zhou
Dear wl-devels, I was trying to test my libweston compositor's shell implementation by launching applications. By convenience I was using a keybing with fork-exec approach. It's weird to me that I couldn't launch the `weston-terminal` in that way as it complaints couldn't find $XDG_RUNTIME_DIR and

What is wesron_plane?

2018-05-04 Thread Sichem Zhou
Hi all, Many data structure in libweston is straightforward, but I don't really know what does weston_plane do in the compositor. As it seems I don't need to deal with it alot. It seems that it's a abstract place to stack `weston_output` and `weston_views`. Like a virtual plane to draw all the out

Re: wl_buffer is not released for long time.

2018-03-15 Thread Sichem Zhou
Hi, Sorry for the trouble, I forgot to ask that is it safe to call `wl_display_flush` and `wl_display_dispatch` in different threads? Regards, SZ Le jeu. 15 mars 2018 11 h 17, Sichem Zhou a écrit : > Hi, > > Thanks very much for the patience so far. It's becau

Re: wl_buffer is not released for long time.

2018-03-15 Thread Sichem Zhou
Hi, Thanks very much for the patience so far. It's because I didn't do `wl_display_flush` before polling. Regards, SZ Le jeu. 15 mars 2018 04 h 41, Pekka Paalanen a écrit : > On Thu, 15 Mar 2018 00:19:10 +0000 > Sichem Zhou wrote: > > > Dear Pekka, > > >

Re: wl_buffer is not released for long time.

2018-03-14 Thread Sichem Zhou
eston? Thanks very much, SZ Le mer. 14 mars 2018 04 h 49, Pekka Paalanen a écrit : > On Tue, 13 Mar 2018 14:11:29 + > Sichem Zhou wrote: > > > Dear Matt, > > > > I just checked my compiled version, indeed I was using a version without > > this patch. I patched my l

Re: wl_buffer is not released for long time.

2018-03-13 Thread Sichem Zhou
d in the > > server's outgoing queue until some other event happened to need > > transmitted. > > > > -Matt > > > > On Mon, Mar 12, 2018 at 1:23 PM, Sichem Zhou > wrote: > >> Hi all, > >> > >> Dear wayland devs, I have a qu

wl_buffer is not released for long time.

2018-03-12 Thread Sichem Zhou
Hi all, Dear wayland devs, I have a question regarding to double `wl_buffer` management. I don't seem to have wl_buffer released untill some other events triggered (for example, the inputs). My current environment is under `X11-backend` and a libweston based compositor. My pipeline follows: (fra

Re: Is it possible to emit event at client side?

2018-03-02 Thread Sichem Zhou
Hi PQ, Thanks for your answer. It would be nice have it though. Regards, X Le ven. 2 mars 2018 09 h 41, Pekka Paalanen a écrit : > On Fri, 02 Mar 2018 14:27:23 + > Sichem Zhou wrote: > > > Hi all, > > > > I have a question regarding the Wayland client sid

Is it possible to emit event at client side?

2018-03-02 Thread Sichem Zhou
Hi all, I have a question regarding the Wayland client side API. I see there is API to create a `wl_ event_queue` but it seems you can only assign `wl_proxy` and send command to server. Is anyway that I can create a event queue and keep it to myself, it's use case lies in multi threading applicat