Do you know what a compositor is, btw?

|
smol_mazunki 2022-09-18 01:05:12
and then it’s up to the compositor to implement blur
Jamerive 2022-09-18 01:05:41
smol_mazunki 2022-09-18 01:05:00
my point being, wouldn’t it be more logical for any app to say “hey wayland, i’d like to be blurred now”

How do I do that if in sway if sway does not know what blur means!😂

smol_mazunki 2022-09-18 01:05:55
Jamerive 2022-09-18 01:05:41
How do I do that if in sway if sway does not know what blur means!😂

it’s not implemented in sway because they don’t care about it

Jamerive 2022-09-18 01:06:02
A protocol it is like a language, right?
smol_mazunki 2022-09-18 01:06:11
but the support for it exists under the wayland protocol
Kueppo 2022-09-18 01:06:13
Ceda EI 2022-09-18 01:03:24
No? It just tells sed that it has to print it.

I just found this -u option from sed which prevents it from buffering data for so long and the original command now works. is that a GNU extension?

smol_mazunki 2022-09-18 01:06:25
Jamerive 2022-09-18 01:06:02
A protocol it is like a language, right?

a protocol is just a standard way of communication

Jamerive 2022-09-18 01:06:41
smol_mazunki 2022-09-18 01:06:25
a protocol is just a standard way of communication

So a language…

smol_mazunki 2022-09-18 01:06:55
a set of rules on how we communicate our ideas, wishes and information
smol_mazunki 2022-09-18 01:07:09
Jamerive 2022-09-18 01:06:41
So a language…

not exactly, but pretty much

smol_mazunki 2022-09-18 01:07:44
btw wayfire supports blur
Jamerive 2022-09-18 01:10:48
smol_mazunki 2022-09-18 01:07:44
btw wayfire supports blur

So tell me, suppose I am a dev making a terminal and want to have it the blur option because some users like it. How do I do?

smol_mazunki 2022-09-18 01:10:59
Jamerive 2022-09-18 01:10:48
So tell me, suppose I am a dev making a terminal and want to have it the blur option because some users like it. How do I do?

do you know what a compositor is, btw?

smol_mazunki 2022-09-18 01:11:11
specifically what the role of the compositor is
Jamerive 2022-09-18 01:11:59
smol_mazunki 2022-09-18 01:11:11
specifically what the role of the compositor is

So far I think it does is to draw the clients

smol_mazunki 2022-09-18 01:12:07
Jamerive 2022-09-18 01:11:59
So far I think it does is to draw the clients

not exactly

smol_mazunki 2022-09-18 01:12:18
suppose you have 5 windows open
smol_mazunki 2022-09-18 01:12:24
they’re mostly rectangles
smol_mazunki 2022-09-18 01:12:27
they overlap, right?
Jamerive 2022-09-18 01:12:39
Not it is more complex also because the word comes from art
smol_mazunki 2022-09-18 01:12:43
(assuming floating windows, just for the sake of argument)
smol_mazunki 2022-09-18 01:13:23
smol_mazunki 2022-09-18 01:12:27
they overlap, right?

each window will send its own rectangle with an image/video to the compositor

smol_mazunki 2022-09-18 01:13:42
and the compositor is aware of the position of each window, and which window is above each other window
smol_mazunki 2022-09-18 01:14:06
the role of the compositor is to take all the windows, and turn it into ONE single (stream of) image
smol_mazunki 2022-09-18 01:14:30
after that, it sends that image (video) to the video driver
smol_mazunki 2022-09-18 01:14:42
that’s essentially it
Jamerive 2022-09-18 01:14:54
smol_mazunki 2022-09-18 01:14:06
the role of the compositor is to take all the windows, and turn it into ONE single (stream of) image

Yep, like a painter in a frame. The same stuff I was thinking. God, I love languages!😂

Ceda EI 2022-09-18 01:15:03
Kueppo 2022-09-18 01:06:13
I just found this -u option from sed which prevents it from buffering data for so long and the original command now works. is that a GNU extension?

it isn’t afaik

Ceda EI 2022-09-18 01:15:19
https://man.openbsd.org/sed shows it too
smol_mazunki 2022-09-18 01:15:28
under xorg, each window does this. it asks the xorg-server “yo where am i located? am i on top?”, and then prints itself on the screen by directly writing to the output
Jamerive 2022-09-18 01:15:36
Just knowing a word well, you can deduce the meaning behind
smol_mazunki 2022-09-18 01:15:49
smol_mazunki 2022-09-18 01:15:28
under xorg, each window does this. it asks the xorg-server “yo where am i located? am i on top?”, and then prints itself on the screen by directly writing to the output

applications are completely free to ignore the standard, and print itself wherever it wants

smol_mazunki 2022-09-18 01:15:53
(under xorg)
smol_mazunki 2022-09-18 01:15:59
on wayland, this is simply not possible
smol_mazunki 2022-09-18 01:16:34
same goes for blur. it’s the compositor’s role to blur windows (after the window says “yo, pls blur me”)
|