ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
<wlb>
wayland Merge request !438 closed (Fix build of C++ code with clang >= 16 and -Wundef)
tokyovigilante has quit [Remote host closed the connection]
tokyovigilante has joined #wayland
coldfeet has joined #wayland
paulk has joined #wayland
feaneron has joined #wayland
mohit81582263530690 has quit [Quit: mohit81582263530690]
mohit81582263530690 has joined #wayland
mvlad has joined #wayland
akimoto has joined #wayland
<bluetail>
Hello!
<bluetail>
I am having an issue on a wlroots based tiling manager called sway. in xwayland, message toasts of different types that are not focusable can steal focus! Such as JDownloaders message toast or filebot's message toast. For filebot, I did even look with xprop into it. https://0x0.st/8E8F.txt
<vyivel>
bluetail: that's a sway bug
<bluetail>
OK. I'll ask in sway.
akimoto has quit [Remote host closed the connection]
gallo has quit [Remote host closed the connection]
gallo has joined #wayland
coldfeet has joined #wayland
paulk has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
feaneron has quit [Quit: feaneron]
paulk-ter has joined #wayland
paulk-ter has quit [Ping timeout: 480 seconds]
FreeFull has joined #wayland
paulk-ter has joined #wayland
coldfeet has quit [Remote host closed the connection]
LoneStarr has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
tzimmermann has joined #wayland
<aelius>
How does one remotely wake a monitor on wayland? I'm having an issue where my remoting software (sunshine) using kms capture "can't find a monitor" if it's sleeping. Annoyingly, I have an hdmi dummy plug, but I wouldn't know how to disable idle timeout for the plug, but not the real display
<bluetail>
aelius just use ddcutil
<bluetail>
ssh user@remote.local 'ddcutil setvcp 60 0x11 --display 1' or whatever else. Just switches to output HDMI. U could also go from HDMI to DP and back. But in any case. If the monitor speaks ddc - which most do, it will definitely wake your little sleeper
<bluetail>
I think 0xf was for DP
<aelius>
will investigate, thanks
<aelius>
hoping sunshine execing that on connect will work too
Moprius has quit []
karenw has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
tzimmermann has quit [Quit: Leaving]
AJC_Z0 has joined #wayland
mripard has quit [Quit: WeeChat 4.6.3]
AJ_Z0 has quit [Ping timeout: 480 seconds]
AJC_Z0 is now known as AJ_Z0
hotskull has joined #wayland
leon-anavi has quit [Quit: Leaving]
ybogdano has joined #wayland
hotskull has quit [Remote host closed the connection]
dave has joined #wayland
dave is now known as Guest17913
<Guest17913>
Question, if I want to display a window to know the size, I need to know the dpi/scaling of the monitor I going to be shown on.. Is it possible to get this *before* I display a frame? now I know it after the first buffer is shows. I want to avoid resizing after the first frame, as this triggers an animation.
<zamundaaa[m]>
Guest17913: dpi and scale are very different things. Which one do you want?
rasterman has joined #wayland
<zamundaaa[m]>
If you want the scale, the fractional scale protocol gives it to you. You should get it together with the other configure events for the window, before it's shown
<kennylevinsen>
note that the position of a window is not decided till *after* you submit your content, as e.g. geometry and other details might affect placement decisions and which outputs you overlap with - but yes, for scale, you can get an early hint of what the Wayland server would like you to use
<Guest17913>
Its an overlaying window and what happens now is I render one frame. then I find out the dpi. I update the fonts, recalculate all the sizes and rerender everything at the right size for the next frames.. but that gives an nice little resize animation effect in hyprland. so I wondered if I could get this info before the first frame buffered.
<Guest17913>
one monitor is fine, multi monitor with different dpi's its an issue
slim has quit []
<kennylevinsen>
Guest17913: normal clients should never concern themselves with dpi, only scale. rendering at different scales does not change sizing.
<kennylevinsen>
only very special clients that have a specific need to render a physically-accurate representation should ever think about dpi
<Guest17913>
yeah, that is what I allow clients to do.. specify an actual width.
<Guest17913>
have some figuring out on X11 to make sure that the window would show exactly the same size on any monitor it was shown on