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
10
votes
10 answers

Mono winforms app fullscreen in Ubuntu?

Just wondering if there's a known way of getting a Mono System.Windows.Forms application to go fullscreen on Ubuntu/Gnome. Mono is 2.4.2.3 Ubuntu is 9.10 Doing it on Windows requires a pinvoke, clearly not going to work here. This is what I get…
tomfanning
  • 9,552
  • 4
  • 50
  • 78
10
votes
1 answer

How do I stop/workaround Java apps stealing focus in Linux window managers

We want to quickly prototype widgets in Java. We overlay them on top of a display written in a proprietary 3rd party graphics package. We find that the Java GUI steals keyboard focus away from the window manager. The window manager is fvwm, I've…
Dan S
  • 355
  • 2
  • 15
8
votes
3 answers

Setting full screen brightness in an Android activity

I'm using this method to set the screen to full brightness. @SuppressLint("NewApi") private void setFullBright() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { WindowManager.LayoutParams windowParams =…
8
votes
3 answers

How to make a window always on top?

I have created a frameless Qt/QML window, and I really would like to know any programmatic means of setting its "Always On Top" system menu flag. Clicking ALT+SPACE I can bring up the system menu for the frameless window, and by clicking the "Always…
oblitum
  • 11,380
  • 6
  • 54
  • 120
8
votes
5 answers

Android WindowManager TYPE_SYSTEM_ALERT Layout on touch

my app displays a button to user at certain times as TYPE_SYSTEM_ALERT and I am trying to let user to move it around. Touch and move action does register with below code but button doesn't move. What am I missing? //create button mbtRec =…
nLL
  • 5,662
  • 11
  • 52
  • 87
7
votes
1 answer

onConfigurationChanged for View in WindowManager not working reliable

I'm adding a View to the WindowManager and overwrite it's onConfigurationChanged function like following: View Code // onConfigurationChanged should be called after config change has finished override fun onConfigurationChanged(newConfig:…
prom85
  • 16,896
  • 17
  • 122
  • 242
7
votes
2 answers

Java: Replacing the coffee cup icon in the top-left corner of the Window

Java Swing applications by default have the Java coffee cup icon appear in the top left corner of the application. I would like to replace this with my own image - what API is used? Can this be done at run time, or must something be done at install…
bguiz
  • 27,371
  • 47
  • 154
  • 243
7
votes
1 answer

Get view to animate to its new position using WindowManager.updateViewLayout()

I add a view to the WindowManager using WindowManager.updateViewLayout(). I then attache an onTouch listener to it, and make it "follow" the user's finger (drag). I do this by changing the x and y values of the WindowManager.LayoutParams I passed in…
dors
  • 5,802
  • 8
  • 45
  • 71
7
votes
1 answer

OSX Quartz Event Taps: event types and how to edit events

Here's my code: #import CGEventRef myCGEventCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon) { printf("%u\n", (uint32_t)type); return event; } int main (int argc,…
luca
  • 12,311
  • 15
  • 70
  • 103
7
votes
4 answers

Cycle through windows of the same application using wmcrtl

I am configuring xbindkeys to change window focus using shortcuts. For example, I managed to create a shortcut to focus on a an application window, let's say a terminator window: wmctrl -xa terminator Unfortunately it focuses always at the same…
7
votes
0 answers

Putting the power of vim into WMs: Modal Window Management?

I'm a huge fan of Vim, and I largely adhere to the extremely efficient modal editing style. After some experience with Vim, I decided to get into other software that shared its philosophy on efficient/speedy keyboard usage. This naturally led me to…
Dustin Tran
  • 479
  • 6
  • 16
6
votes
1 answer

Writing Tiling window manager in Python

I have been using Awesome Tiling window manager for over 6 months now, and quite happy with this. I would like to write my own Tiling window manager as a weekend project and for hackfun. I noticed that Xmonad and dwm are very small. I am aware of…
18bytes
  • 5,951
  • 7
  • 42
  • 69
6
votes
2 answers

Android - WindowManager causing crash with "window count is over max 300 "

I am seeing this error getting reported in my logging software but cant determine what is causing it, or what the 300 limit is referring to... the number of views or possibly items displayed in a list... This is all i could pull from my log: window…
RH201
  • 312
  • 3
  • 16
6
votes
2 answers

minimize fullscreen Xlib OpenGL Window

I'm currently trying to enable alt-tabbing out of my fullscreen Xlib OpenGL window, but am having some difficulties. I've tried XUnmapWindow(..), which kindof works, but the resolution does not reset (unless I should be doing that manually?) and my…
Jarrett
  • 1,767
  • 25
  • 47
6
votes
2 answers

Before diving in, is this possible with Awesome WM?

I've been trying different tiling WM's to see which one best fits my needs. Every time I try a new one, it looks good but I find other things that don't quite work the way I like. My requirements have evolved as I go. Initially, I didn't want to get…
phd68lnx
  • 93
  • 1
  • 6
1 2
3
29 30