ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
carbonfiber has quit [Quit: Connection closed for inactivity]
nerdopolis has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
mxz has quit [Quit: cya]
mxz has joined #wayland
dcz_ has joined #wayland
sozuba has joined #wayland
sozuba has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
hill has joined #wayland
Lucretia has quit [Read error: Connection reset by peer]
Lucretia has joined #wayland
hill has quit []
hill has joined #wayland
hill has quit []
<manuels> how can I acieve this? how do clients (e.g. csd) move windows?
sozuba has joined #wayland
hill has joined #wayland
hill has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
<kennylevinsen> manuels: you ask to initiate a move: https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:move
<emersion> the compositor will decide for you what's the best spot to show the window
<yshui`> huh, the xml says `wl_registry::bind` sends a `uint` and a `new_id`, but it actually sends `uint`, `string`, `uint`, `new_id`? did I misread the specification?
<emersion> yshui`: it does this when the interface is not specified
<yshui`> I don't understand.. when the interface is not specified, in the protocol xml? what's the condition for these implicit parameters to be added?
<yshui`> is it added a every `new_id` parameter?
<yshui`> ah, i think i understand now.
<yshui`> wayland-book got it wrong too: https://wayland-book.com/registry/binding.html
faustzero1 has joined #wayland
<yshui`> does the protocol specify which error should be sent if the interface for the new_id doesn't match the actual interface?
<dottedmag> yshui`: I was confused by it too https://oftc.irclog.whitequark.org/wayland/2022-09-22#31406898;
<yshui`> under `new_id`.
<yshui`> maybe not many people read that 😅
<kchibisov>
Leopold has joined #wayland
Dami_Lu has quit [Read error: Connection reset by peer]
Dami_Lu has joined #wayland
nerdopolis has joined #wayland
___nick___ has joined #wayland
keir has quit [Quit: ZNC 1.8.2 - https://znc.in]
keir has joined #wayland
<manuels> emersion the compositor decides to put each new window in the top left board. Which is a bad decision imho
<manuels> Board>corner
<emersion> ask said compositor developers to change it then
<manuels> How do you guys at Wayland think how toolkits like qt should work well with Wayland?
markbolhuis has joined #wayland
<manuels> No hotkeys, no absolute move no center.
<emersion> i don't understand the question
<manuels> Why the heck is Wayland that complicated
<emersion> in my mind, "does not have bad features" is not the same as "complicated"
<manuels> I can't move the window of my app. Without writing Wayland specific code.
<manuels> Thats frustrating
<emersion> yes, that is by design
<manuels> How can a move be bad
<qyliss> You can't move the window of your app at all.
<qyliss> You can ask the compositor to start moving it.
<manuels> I can ask the compositor to move it with the mouse, I cant say move it to the center of the screen, right?
<qyliss> Correct.
<manuels> How can I center my app then?
<any1> This is a launcher, so maybe layershell is the answer?
<qyliss> ah, I missed it was a launcher
<manuels> Layershell?
<any1> Yes, there is a special protocol for implementing applications that need absolute positioning and more. It's called layershell
<emersion> any1: no, they want the user to be able to move the window still
bodiccea_ has quit [Ping timeout: 480 seconds]
<qyliss> k
<qyliss> oops
markbolhuis has quit [Quit: markbolhuis]
<any1> In that case, just overlay it on the entire output and have a floating graphics element in the center that the user can move around.
<any1> The user can't click anything else, but you can move the "window". Yay :D
<emersion> that would be a hack
<any1> Here's an even better hack: Put it into the center using layershell, then if the user grabs it with the mouse, change the size of the layer to cover the entire output until the user releases the window.
<any1> Is it a hack if it works? :p
<emersion> Here's an even better hack: On installation, append LD_PRELOAD to ~/.bashrc to a library with special support for common compositors which adds a custom IPC to move windows
<dottedmag> manuels: Under Wayland it's user who decides what should be centered (by telling compositor to do so), not the application developer.
<dottedmag> The same applied to X11 to some extent: window managers/compositors that gave users this ability neutered the explicit movement features of X11 protocol without telling applications so. Now it's the rule, not an exception.
jmdaemon has quit [Ping timeout: 480 seconds]
<any1> emersion: I take it you're not very happy about me trying to think of ways to abuse your protocol? :)
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #wayland
fossdd has quit [Remote host closed the connection]
fossdd has joined #wayland
<kennylevinsen> manuels: window position doesn't necessarily even make sense in all compositors (e.g. VR compositors). As it is impossible to revoke or revise such features once apps depend on them (like with X11), and such feature can easily be abused, Wayland took the simple and safe approach of not exposing such functionality at all.
<kennylevinsen> maybe requesting "centered" would be okay for e.g. Spotlight like behavior, but then all sorts of apps would start to ask that for no reason so compositors would end up having to ignore it...
<kennylevinsen> Probably best to just use a compositor policy. In sway you can write a for_windoe rule to center the window of a particular app.
Leopold_ has quit [Remote host closed the connection]
Moprius has joined #wayland
Seirdy has quit [Ping timeout: 480 seconds]
Seirdy has joined #wayland
Leopold_ has joined #wayland
bodiccea has joined #wayland
Leopold_ has quit []
alatiera has joined #wayland
manuels has quit [Remote host closed the connection]
manuels has joined #wayland
Moprius has quit [Quit: bye]
Company has joined #wayland
markbolhuis has joined #wayland
rasterman has joined #wayland
cmeissl[m] has quit []
<wlb> wayland Issue #327 opened by Mark Bolhuis (markbolhuis) Clarify if request/event carry an immediate response or not https://gitlab.freedesktop.org/wayland/wayland/-/issues/327
hardening has joined #wayland
slattann has joined #wayland
sav10 has joined #wayland
evon37788 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
sozuba has quit [Ping timeout: 480 seconds]
evon37788 has quit []
slattann has quit [Quit: Leaving.]
evon37788 has joined #wayland
Leopold_ has joined #wayland
evon37788 has quit []
chipxxx has joined #wayland
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
evon37788 has joined #wayland
___nick___ has quit []
evon37788 has quit []
evon37788 has joined #wayland
evon37788 has quit []
creich has joined #wayland
chip_x has joined #wayland
chipxxx has quit [Ping timeout: 480 seconds]
rodrgz has joined #wayland
coleman has quit [Remote host closed the connection]
coleman has joined #wayland
<wlb> wayland Issue #328 opened by Nonie Various (Nonie689) xauthority doesn't exist on xwayland mode. https://gitlab.freedesktop.org/wayland/wayland/-/issues/328
coleman has quit [Remote host closed the connection]
rodrgz has quit [Read error: Connection reset by peer]
coleman has joined #wayland
rodrgz has joined #wayland
droidbittin has joined #wayland
droidbittin has left #wayland [#wayland]
dcz_ has quit [Ping timeout: 480 seconds]
Naruto[m] has joined #wayland
creich has quit [Quit: Leaving]
rv1sr has quit []
hardening has quit [Ping timeout: 480 seconds]
rodrgz has quit [Quit: WeeChat 3.5]
markbolhuis has quit [Quit: markbolhuis]
fmuellner has joined #wayland
andyrichle[m] has joined #wayland
sav10 has quit [Remote host closed the connection]
co1umbarius has quit [Remote host closed the connection]
co1umbarius has joined #wayland
jmdaemon has joined #wayland
Leopold_ has quit [Remote host closed the connection]
faustzero1 has quit [Ping timeout: 480 seconds]