! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"send to screen :2" feature request
Status:
RESOLVED: INVALID
Severity:
enhancement

Comments

Description Harald Schmalzbauer 2008-08-08 22:26:35 CEST
Hello,

I can send windows to different virtual desktops, but I'm missing the feature to move windows between different screens without xinerama.
Is this hard to implement? For sure far beyond my scope...

Thanks,

-Harry
Comment 1 Olivier Fourdan editbugs 2008-08-09 09:37:54 CEST
What you want is called display or screen migration. This is not something that depends on the window manager, but needs to be implemented in the application itself (because the application opens a connection with a given display).

GTK+ has this feature implemented for a while (to test it, try gtk-demo and select "Change Display"), but of course each application has to implement the feature (for example, the demo works only with the dialogs from gtk-demo, it not able to migrate other applications' windows).

The panel uses that feature to move from one screen to another.
Comment 2 Harald Schmalzbauer 2008-08-09 10:05:22 CEST
Thanks a lot for that explanation. My intention was to disable xinerama to have 3 independent 4-virtual desktop screens, but some times I work (start working) with only one screen. And so I have to restart the applications if I move to 3-screen operation... And that's not just urxvt, at least firefox and thunderbird are such candidates. And implementing the gtk+ screen migration won't be trivial on the practical path I guess. Maybe technically not too hard...
Comment 3 Harald Schmalzbauer 2009-01-12 12:31:38 CET
Accidentaly I found the following GTK+ function:
void gtk_window_set_screen(GtkWindow *window, GdkScreen *screen);

Is it possible to use that funktion in the window manager to migrate windows between screens?
It was wonderful if I could get rid of xinerama by having that feature in xfwm.

Thanks a lot, -Harry
Comment 4 Olivier Fourdan editbugs 2009-01-17 17:38:04 CET
(In reply to comment #3)
> Accidentaly I found the following GTK+ function:
> void gtk_window_set_screen(GtkWindow *window, GdkScreen *screen);

YUes, I know about the GTK api.
 
> Is it possible to use that funktion in the window manager to migrate windows
> between screens?

No, as I already said, that is not possible from the window manager, the GtkWindow you pass to gtk_window_set_screen() is a structure known to the application, not the window manager.

> It was wonderful if I could get rid of xinerama by having that feature in xfwm.

Yes, but as explained previously, this is not possile from the window manager,
Comment 5 Olivier Fourdan editbugs 2009-04-20 19:58:33 CEST
*** Bug 5262 has been marked as a duplicate of this bug. ***

Bug #4271

Reported by:
Harald Schmalzbauer
Reported on: 2008-08-08
Last modified on: 2009-07-14
Duplicates (1):
  • 5262 Multiscreen support without xinerama

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information