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
55
votes
5 answers

Building a Window Manager

One of my new home projects will be a simple Window Manager, but before start I need to know some things: Which is the best language to do this? Where to get some resources to learn?
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
29
votes
1 answer

Get active flags on Android Window

is it possible to get programmatically which flags are currently active on a Window? We can enable flags with: getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); Does api provides a way to get a list of currently active…
iGio90
  • 3,251
  • 7
  • 30
  • 43
26
votes
8 answers

Creating a window manager for Linux

I want to create a simple stacking window manager (in C) for private use, mainly for the purpose of learning and challenging myself. I've looked through twm's source code which has relatively few bells and whistles but it seems very low level since…
Iceland_jack
  • 6,848
  • 7
  • 37
  • 46
26
votes
4 answers

How do I toggle 'always on top' for a QMainWindow in Qt without causing a flicker or a flash?

void MainWindow::on_actionAlways_on_Top_triggered(bool checked) { Qt::WindowFlags flags = this->windowFlags(); if (checked) { this->setWindowFlags(flags | Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint); …
Jake Petroules
  • 23,472
  • 35
  • 144
  • 225
25
votes
3 answers

How to remove title bar in awesome window manager ver >4

I've recently upgraded my machine, and am now at awesome version 4.x. There is now a titlebar of sorts with close, ontop, floating, maximized, etc... buttons on right. Can I get rid of this? What config would I use to have this be universally…
ftravers
  • 3,809
  • 3
  • 37
  • 38
25
votes
1 answer

What is 'client side decoration'?

I am a student who did some web stuff and some command line applications, now giving GUIs a try. I read http://python-gtk-3-tutorial.readthedocs.org/en/latest/layout.html and I stumbled over this sentence: Since GTK+ now supports Client Side…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
24
votes
5 answers

How to programmatically switch to a specific window in compiz?

Is there a command to tell compiz that we want to bring in front and set focus to a specific window? How should we identify the window in that command? The reason behind this question is the following use-case: Suppose we have a wiki to keep notes…
FossilBit
  • 503
  • 4
  • 7
21
votes
3 answers

Google Chrome disable window animations

After updating to Chrome 58 I noticed a new "zoom-fade" effect when restoring a minimized window, or opening a new window (Ctrl+N). This feels very unnecessary, and - in my desktop environment - totally out of place. Is there a way to permanently…
friederbluemle
  • 33,549
  • 14
  • 108
  • 109
18
votes
2 answers

Modern ways to write a window manager

I'm trying to write a window manager. (Actually, I have written an OS and a compiler, but that's beside the point.) XLib and xcb aren't exactly nasty, at least not by, say, win32 standards, but they are definitely very old and don't lend themselves…
David Given
  • 13,277
  • 9
  • 76
  • 123
18
votes
4 answers

How do I properly implement a "minimize to tray" function in Qt?

How do I properly implement a "minimize to tray" function in Qt? I tried the following code inside QMainWindow::changeEvent(QEvent *e), but the window simply minimizes to the taskbar and the client area appears blank white when restored. if…
Jake Petroules
  • 23,472
  • 35
  • 144
  • 225
18
votes
3 answers

WindowManager with Animation (is it possible?)

Is there any way to inflate a view with WindowManager using Animation (at android's project)? I just can't do it even using the examples in sites! I used many examples but none worked! public BannerLayout(Activity activity, final Context context) { …
LeandroPortnoy
  • 312
  • 1
  • 2
  • 8
17
votes
2 answers

Xlib How Does This (Removing Window Decoration) Work?

How does the following code remove window borders? //note the struct is declared elsewhere, is here just for clarity. //code is from [http://tonyobryan.com/index.php?article=9][1] typedef struct Hints { unsigned long flags; unsigned long …
Ell
  • 4,238
  • 6
  • 34
  • 60
16
votes
2 answers

Is XCB ready for production use? Should I use Xlib instead?

If one needs low level access to X11 events, windowing and input without using GTK, QT et al., should one use Xlib or XCB? What are the pros and cons of each?
x-x
  • 7,287
  • 9
  • 51
  • 78
16
votes
4 answers

Why does resuming an activity in android cause BadTokenException?

Folks - Can anyone explain this stack? Note that my code is nowhere on it. If you Google for any of these exceptions, everyone who has experiencing this issue was trying to create dialogs after an activity was terminated, which doesn't seem to be…
esilver
  • 27,713
  • 23
  • 122
  • 168
16
votes
3 answers

How do I get default title bar height of a NSWindow?

I created an OS/X app that when it runs, I position the window in the center of the screen. In order to do this, it's essential that I include the title bar height in my calculation of the y value. Is there a way to determine the default title bar?…
Suppy
  • 161
  • 1
  • 1
  • 5
1
2 3
29 30