[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Move a window from one screen to another
From: |
Stefan Reichör |
Subject: |
Re: [STUMP] Move a window from one screen to another |
Date: |
Thu, 25 Sep 2008 11:39:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Michael Raskin <address@hidden> writes:
> Stefan Reichör wrote:
>> I read the stumpwm info file but I found no way to move a window to
>> another screen.
>>
>> Is this possible somehow?
> One word: gmove
It seems that I have a different problem.
Each screen has its own list of groups:
*screen-1* has only Default
*screen-2* has Web, Vsim, Shells
I cannot move a window from *screen-1*/Default to *screen-2*/???
via gmove
Here is how I setup my screens/groups:
,----
| (defun setup-groups ()
| (switch-to-screen *screen-2*)
| (run-commands "gnewbg Web" "gnewbg Vsim" "gnewbg Shells")
| (setup-vsim-group)
| (switch-to-screen *screen-1*))
|
| (defun setup-vsim-group () ()
| (switch-to-screen *screen-2*)
| (switch-to-group (find-group *screen-2* "Vsim"))
| ;; resize the vsim window 400 pixels wider, 200 pixels higher
| (run-commands "only" "vsplit" "hsplit" "resize 400 200")
| (run-or-raise "xterm -name xterm-vsim" '(:instance "xterm-vsim")))
|
| ;;; initialization functions
| (defvar *first-run* t)
| (setf *first-run* t)
| (when *first-run*
| (setf *screen-1* (car *screen-list*))
| (setf *screen-2* (cadr *screen-list*))
| (setf *first-run* nil)
| (setup-groups))
`----
Is there a better way that allows to move windows/groups between
screens?
I also tried the following:
(defcommand test () ()
(move-window-to-group (current-window) (find-group *screen-2* "Vsim")))
This moves the current window from *screen-1* to *screen-2*
At least stumpwm thinks so when I query the window lists in each screen.
But the content of the window is still displayed in *screen-1*
Stefan.
- [STUMP] Move a window from one screen to another, Stefan Reichör, 2008/09/25
- Re: [STUMP] Move a window from one screen to another, Michael Raskin, 2008/09/25
- Re: [STUMP] Move a window from one screen to another,
Stefan Reichör <=
- Re: [STUMP] Move a window from one screen to another, Daniel Werner, 2008/09/26
- Re: [STUMP] Move a window from one screen to another, Stefan Reichör, 2008/09/25
- Re: [STUMP] Move a window from one screen to another, John Li, 2008/09/25
- Message not available
- Re: [STUMP] Move a window from one screen to another, Stefan Reichör, 2008/09/25
- Re: [STUMP] Move a window from one screen to another, Stefan Reichör, 2008/09/25
Re: [STUMP] Move a window from one screen to another, Thierry Volpiatto, 2008/09/26