Questions tagged [window-management]
79 questions
4
votes
3 answers
How to set foreground Window from Powershell event subscriber action
I have a FileSystemWatcher instance running in the background of my PoSh session watching for changes to text files. A PoSh event subscriber is attached to this event and, when fired, it launches a console program by calling Start-Process. This…

guillermooo
- 7,915
- 15
- 55
- 58
4
votes
1 answer
How to move vertical split window to horizontal split, when there is an existing horizontal split?
In Vim I tend to open buffers in new vertical splits (with the occasional horizontal split). I keep my code to 80 chars wide, so this works pretty well on large monitors.
I often end up with this window arrangement:
---------------------
| | …

asgeo1
- 9,028
- 6
- 63
- 85
3
votes
1 answer
gVim - Ubuntu - Window keeps resizing
I'm in Ubuntu using gVim. Something is just wrong with the Window management of gVim - it keeps resizing on me! ... It usually happens when I either switch tabs or split the window or switch between splits.
Any help would be completely…

Mr Mikkél
- 2,577
- 4
- 34
- 52
3
votes
2 answers
Move window to screen corners using keyboard shortcuts on Ubuntu 18.04
I'm looking for a way to move windows to screen corners (top-left, top, top-right, right, bottom-right, bottom, bottom-left, left, maximize) using keyboard shortcuts on Ubuntu 18.04 (Gnome Shell 3.28.3).
What I tried that does not work:
In…

Wolkenarchitekt
- 20,170
- 29
- 111
- 174
3
votes
1 answer
MacRuby + Interface Builder: How to display, then close, then display a window again
I'm a complete n00b with MacRuby and Cocoa, so keep that in mind when answering - I need lots of details and explanation. :)
I've set up a simple project that has 2 windows in it, both of which are built with Interface Builder. The first window is a…

Derick Bailey
- 72,004
- 22
- 206
- 219
3
votes
2 answers
How do I bring a processes window to the foreground on OS X?
I have a simple shell/python script that opens up other windows. I'd like to bring the terminal where the script is running to the foreground when the script has finished.
I know the process ID of my parent window. How can I bring a given window to…

mikemaccana
- 110,530
- 99
- 389
- 494
3
votes
1 answer
Embedding an X11 window, belonging to an independent process launched by me, into my own window?
Is there an easy way to do this? I've never seen this anywhere (apart from the Adobe/... plugins for Firefox), so I doubt it...
If not, is there a reliable, hacky way (such as hooking into that process's Xlib calls via LD_PRELOAD)?
If it matters,…

mic_e
- 5,594
- 4
- 34
- 49
3
votes
1 answer
Does _NET_WM_STATE_HIDDEN imply _NET_WM_STATE_SKIP_TASKBAR
After switching from KDE to XFCE, I notice that the boinc manager window will remain visible in the task bar as a minimized window when I close the window. On KDE (as far as I remember), closing the window had the effect of completely hiding it,…

MvG
- 57,380
- 22
- 148
- 276
3
votes
1 answer
How to navigate open programs in Awesome WM using arrow keys whilst in tile layout?
In Awesome WM the way you switch between open programs is by going to the previous or next client. By default it uses the keybinding Mod4 + k and Mod4 + j respectively.
However, let say I have four clients open in my screen using the tile layout,…

milarepa
- 759
- 9
- 28
3
votes
3 answers
How to properly clean-up a QWidget / manage a set of windows?
Let's say I have 2 windows in my application, and two classes responsible for them:
class MainWindow: public QMainWindow and class SomeDialog: public QWidget.
In my Main Window I have a button. When it is clicked, I need to display the second…

SingerOfTheFall
- 29,228
- 8
- 68
- 105
2
votes
1 answer
How to use Java to move Windows windows around on screen?
I've been contemplating making a window manager with a GUI, probably in Java. However, I'm struggling to figure out the best way to move windows not owned by my program.
So far, it would seem I should use JNI to interface with the Windows API, but…

nighthawk454
- 943
- 12
- 20
2
votes
1 answer
Stopping another program from taking focus
I need to run a lengthy set of unit tests quite often each day, and as part of the tests, some windows pop up and are subsequently closed by the test script. Ideally, I'd like to continue working while the tests are running, so I'd need to stop the…

Simon Richter
- 28,572
- 1
- 42
- 64
2
votes
1 answer
UWP How to detect when a window changes its location
I am using AppWindow (https://learn.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.appwindow) to create a second window for my UWP app.
I need to detect when the user changes the location of this secondary window (i.e. she drags the window…

Cristiano Ghersi
- 1,944
- 1
- 20
- 46
2
votes
1 answer
How to simulate user input in objective-c?
On windows, and with c#, I was able to capture another window's "screen", use that for processing, and then send user input events to that window. (which were generated by the program).
I would like to do the same with objective-c and within Mac OS…

Dominic
- 23
- 3
2
votes
1 answer
How do I write directly to the screen?
Specifically, I want to display text and images on the monitor, on top of all other windows, but without being clickable or in any way possible to interact with - clicks on it should go straight through to whatever window is underneath.
So far, my…

Benubird
- 18,551
- 27
- 90
- 141