Re: Antw.: client side decorations
Certainly there should be an easy way to get the "default window decorations". I think the correct way is for the client to call an client-side "appearance library" that can draw these, tell the client about the sizes, and also can draw all the buttons and scroll bars and so on. On May 8, 2011, at 9:27 AM, andre.knis...@gmx.de wrote: Of course it is server side decoration, but it eliminates its main problem. - Reply message - Von: "Bill Spitzak" Datum: So., Mai. 8, 2011 18:18 Betreff: Antw.: client side decorations An: "andre.knis...@gmx.de" Cc: On May 8, 2011, at 8:25 AM, andre.knis...@gmx.de wrote: > As far as I can tell, the main problem with server side decoration > is that applications cannot modify them and thus they create their > own decoration. Please correct me if I'm wrong. > So why can't we enforce the WM to provide an API for modifying the > decorations? If a WM wouldn't implement it, we'd use some default > decoration for applications that need to use the API. Chrome could > for example get a surface to draw its tabs from KWin, and KWin would > ensure the tabs don't overlap with the buttons, etc. > I hope this wasn't proposed in the thousands of CSD posts before ;) No. What you are describing *IS* server-side decorations. I fully agree with the majority here that client-side is the way to go. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel
Antw.: client side decorations
Of course it is server side decoration, but it eliminates its main problem. - Reply message - Von: "Bill Spitzak" Datum: So., Mai. 8, 2011 18:18 Betreff: Antw.: client side decorations An: "andre.knis...@gmx.de" Cc: On May 8, 2011, at 8:25 AM, andre.knis...@gmx.de wrote: > As far as I can tell, the main problem with server side decoration > is that > applications cannot modify them and thus they create their > own decoration. > Please correct me if I'm wrong. > So why can't we enforce the WM to provide an API for modifying the > > decorations? If a WM wouldn't implement it, we'd use some default > > decoration for applications that need to use the API. Chrome could > for > example get a surface to draw its tabs from KWin, and KWin would > ensure the > tabs don't overlap with the buttons, etc. > I hope this wasn't proposed in the thousands of CSD posts before ;) No. What you are describing *IS* server-side decorations. I fully agree with the majority here that client-side is the way to go. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Antw.: client side decorations
On May 8, 2011, at 8:25 AM, andre.knis...@gmx.de wrote: As far as I can tell, the main problem with server side decoration is that applications cannot modify them and thus they create their own decoration. Please correct me if I'm wrong. So why can't we enforce the WM to provide an API for modifying the decorations? If a WM wouldn't implement it, we'd use some default decoration for applications that need to use the API. Chrome could for example get a surface to draw its tabs from KWin, and KWin would ensure the tabs don't overlap with the buttons, etc. I hope this wasn't proposed in the thousands of CSD posts before ;) No. What you are describing *IS* server-side decorations. I fully agree with the majority here that client-side is the way to go. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel
Antw.: client side decorations
As far as I can tell, the main problem with server side decoration is that applications cannot modify them and thus they create their own decoration. Please correct me if I'm wrong. So why can't we enforce the WM to provide an API for modifying the decorations? If a WM wouldn't implement it, we'd use some default decoration for applications that need to use the API. Chrome could for example get a surface to draw its tabs from KWin, and KWin would ensure the tabs don't overlap with the buttons, etc. I hope this wasn't proposed in the thousands of CSD posts before ;) André - Reply message - Von: "Peng Huang" Datum: So., Mai. 8, 2011 04:58 Betreff: client side decorations An: "Mike Paquette" Cc: "Kristian Høgsberg" , "Sam Spilsbury" , "wayland" , , "Bill Spitzak" , "microcai" ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel