Questions tagged [window-managers]

A Window Manager is a service on most modern OSes which provides the UI for manipulating the location and sizes of windows.

A Window Manager is a service on most modern operating systems which provides the UI for manipulating the location and sizes of windows. Some go further, and provide the ability to open or close applications, and display applets.

For example, since Vista, Microsoft Windows has used Desktop Window Manager to handle the display and composition of windows.

The many desktop environments available for Unix/Linux, such as GNOME (Mutter) and KDE (KWin), all provide window managers, among other software.

440 questions
0
votes
1 answer

Misunstanding Rectangle.Intersect(r1,r2), not reporting .Size as expected

I am attempting to write a program that considers Screen Bounds and if a window spans multiple screens, the window will "snap" to the closest edge of the Screen which the window has the most area in. [DllImport("user32.dll", SetLastError =…
brandeded
  • 2,080
  • 6
  • 25
  • 52
0
votes
0 answers

How to set child forms focus on taskbar button click?

I am using Delphi XE 2010 on Windows 7. I need to be able to set focus and bring the child form(s) to the front of other child forms only not for the whole program or application, when you left click on the taskbar button. So, I need to know how you…
ThN
  • 3,235
  • 3
  • 57
  • 115
0
votes
1 answer

xcb: how to launch an application and show it into a window

I'm trying to implement a basic window manager using xcb library. I managed to connect with X server, and grab some events, but i cannot figure how to launch an application and show it inside the current X session. I'm trying to follow the xcb…
Ivan
  • 4,186
  • 5
  • 39
  • 72
0
votes
3 answers

When an application is released on linux, how can it be made compatible with most window managers?

When I say window manager, I'm talking about KDE, Gnome, lxde, xfce, etc. I never build a windowed application except with Qt, but my guess is that not all application use Qt, some use wx, but when ubuntu's repos has one application, it's released…
jokoon
  • 6,207
  • 11
  • 48
  • 85
0
votes
0 answers

Pop up activity closes on touch event in some phones

I have a strange problem. im developing an app which overlays the incoming call screen. I have achieved displaying the popup window and everything works fine also i can access the receive and disconnect call controls below the pop up window on my…
Niraj Adhikari
  • 1,678
  • 2
  • 14
  • 28
0
votes
1 answer

Blink upon incoming call android

I am developing an android app, where I want make the home screen blink upon incoming call. I tried calling the below startblinking() method within a activity and the screen blinks fine. But, when I try to call the same method within the Ring state…
0
votes
1 answer

Gnome Shell - Do not let windows float to first or accross workspaces

Currently I use gnome-shell and put all windows I do not need right now on the second workspace. Two screens are attached to the computer. For some reason the windows float back from the second to the first workspace after a while. I believe that…
LeMike
  • 3,195
  • 5
  • 25
  • 35
0
votes
2 answers

Creating an overlay activity

I am trying to create a overlay activity which is sitting in a corner of the screen taking a very small portion of the screen, while the rest of the screen is interactive that is I tap on anything that is displaying on rest of the screen. So far I…
Naruto
  • 1,710
  • 7
  • 28
  • 39
0
votes
1 answer

I want to create a button located on the top of all activities dynamically

I created it in DialpadFragment, but when the MO call was making, the InCallScreen would always overlay my button. Here is my code: private void createStopButton() { if (mstopButton == null) { mstopButton = new Button(mActivity); …
alexunder
  • 2,793
  • 3
  • 15
  • 18
0
votes
1 answer

Save Key Combinations as Script (Ubuntu 12.04)

I'm experimenting with using the i3 window manager (in a VM). One issue I have with it is it does not save window positions after logout. So, I'm looking for a means to save and execute the key combinations to get the specific windows where I'd…
Drake
  • 433
  • 2
  • 7
  • 17
0
votes
1 answer

DWM windowManager for Windows, command?

I am using dwm for Windows now: http://www.brain-dump.org/projects/dwm-win32/ Regularly I use it in Linux where I can use mod+I and mod+D to change between vertical and horizontal layouts. In the Windows version that doesn't work for me, and I can't…
xoxo_tw
  • 269
  • 1
  • 7
  • 20
0
votes
1 answer

Dispatching touch events to other app

I am creating android activity that starts a service. This service is intended to receive touch events even if user is using other application. Its onCreate() method is as follow. public void onCreate() { super.onCreate(); // create linear…
0
votes
1 answer

Tkinter window in front of specific window (or all windows)

I'm writing a small GUI program with python in tkinter for windows. My window has to be in front of a fullscreen game-window. At the moment, I use this line: self.root.attributes("-topmost", 1) which works for normal windows (browser, explorer,…
Simon Lenz
  • 2,732
  • 5
  • 33
  • 39
0
votes
1 answer

Using WindowManager.addView() and updating a TextView

I have my views built and everything working perfectly, except when i go to update the displayed textview. I am using the windowmanager.addView() method to inflate a view flipper. one of the views in the fliper contains a textview. I would like to…
r2DoesInc
  • 3,759
  • 3
  • 29
  • 60
0
votes
1 answer

XLib windows auto-alignment performance

In XLib based application, I need to make the child window to be resized after the parent window. (For example, in order to make the child window to take the whole client area of the parent window) I am processing the ConfigureNotify event of the…
johnfound
  • 6,857
  • 4
  • 31
  • 60