After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707080 - Implement sticky and workspace handling
Implement sticky and workspace handling
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
wayland
Depends on:
Blocks:
 
 
Reported: 2013-08-29 19:00 UTC by Matthias Clasen
Modified: 2014-08-01 06:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2013-08-29 19:00:12 UTC
Currently

gdk_window_stick
gdk_window_unstick

don't do anything on Wayland. We also recently added

gdk_x11_screen_get_number_of_desktops
gdk_x11_screen_get_current_desktop
gdk_x11_window_get_desktop 
gdk_x11_window_move_to_desktop

and these don't have any equivalent under Wayland. 

These probably need extensions of the shell interface, and also need to be implemented on the gnome-shell side.
Comment 1 Jonas Ådahl 2013-08-31 09:53:14 UTC
There are an experimental protocol with functionality equivalent of

gdk_x11_screen_get_number_of_desktops
gdk_x11_screen_get_current_desktop
gdk_x11_window_get_desktop 
gdk_x11_window_move_to_desktop

in weston that is implemented in the toytoolkit (window.c). I also proposed an update for multiple outputs but was not integrated into weston due to the goal of weston is not to be a shell with too much unnecessary features, and per-output workspace would complicate the shell scene graph management.

Would it make sense to base any extension protocol on those proposals, implementing support in mutter, and continue from there?
Comment 2 Matthias Clasen 2013-08-31 14:18:03 UTC
(In reply to comment #1)
> There are an experimental protocol with functionality equivalent of
> 
> gdk_x11_screen_get_number_of_desktops
> gdk_x11_screen_get_current_desktop
> gdk_x11_window_get_desktop 
> gdk_x11_window_move_to_desktop
> 
> in weston that is implemented in the toytoolkit (window.c). I also proposed an
> update for multiple outputs but was not integrated into weston due to the goal
> of weston is not to be a shell with too much unnecessary features, and
> per-output workspace would complicate the shell scene graph management.

Thanks for the pointer !

> Would it make sense to base any extension protocol on those proposals,
> implementing support in mutter, and continue from there?

Probably.
Comment 3 Matthias Clasen 2013-10-12 18:39:32 UTC
JAsper has a patch for stick
Comment 4 Matthias Clasen 2013-10-16 01:38:41 UTC
See bug 710056 for the patch