Originally posted by Weasel
View Post
Wayland design means that window positions are relative to a window. This is to prevent the classic I am running application and pop up appears on wrong window under X11. Yes if you want to use full screen positions under wayland you need a full screen window. Is this in fact different to X11. The wayland difference is instead of the windows manager creating the virtual desktop for you if you want to use screen relative positions you need to create the virtual desktop yourself with a full screen window. Weasel says without using a virtual desktop in fact windows position under X11 does not exist without the windows manager creating a virtual desktop be this the default in the X11 server or the loaded windows manager. So without virtual desktop query position of window under X11 does not work either. Have you not noticed Weasel under X11 at times your application requests position 0.0 and really gets something like 0,100 because the X11 windows manager has offset the top corner. Basically Weasel is the common anti wayland. They request stuff that is in fact impossible to perform under X11. Yes strictly without a virtual desktop under X11 equals all windows created at 0.0 with no ability to move them at all.
Virtual desktop has to exist to use relative positions with X11 or Wayland. The difference is who creates it. X11 the virtual desktop create is the responsibility of the windows manager. Wayland the virtual desktop create is the responsibility of the application.
Exactly like Xwayland wine could use a invisible virtual desktop. Due to wine being direct control if it virtual desktop this way no cat fighting with different wayland compositor implementations of virtual desktop that wine has to currently under X11 with the windows managers. Why wine includes a virtual desktop mode in the first place is because the X11 windows manager virtual desktop does not always work.
Leave a comment: