mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
argh, we were making all dialogs skip taskbar; when did that get added.
2003-01-09 Havoc Pennington <hp@redhat.com> * src/window.c (recalc_window_features): argh, we were making all dialogs skip taskbar; when did that get added. Fix to match libwnck, only skip taskbar when the dialog is transient for some other app window.
This commit is contained in:
parent
70bd23278b
commit
5d2f307735
@ -1,3 +1,10 @@
|
||||
2003-01-09 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/window.c (recalc_window_features): argh, we were making all
|
||||
dialogs skip taskbar; when did that get added. Fix to match
|
||||
libwnck, only skip taskbar when the dialog is transient for some
|
||||
other app window.
|
||||
|
||||
2003-01-09 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/metacity.schemas.in: change Windows+click back to Alt+click,
|
||||
|
@ -5568,7 +5568,10 @@ recalc_window_features (MetaWindow *window)
|
||||
|
||||
case META_WINDOW_DIALOG:
|
||||
case META_WINDOW_MODAL_DIALOG:
|
||||
window->skip_taskbar = TRUE;
|
||||
/* only skip taskbar if we have a real transient parent */
|
||||
if (window->xtransient_for != None &&
|
||||
window->xtransient_for != window->screen->xroot)
|
||||
window->skip_taskbar = TRUE;
|
||||
break;
|
||||
|
||||
case META_WINDOW_NORMAL:
|
||||
|
Loading…
Reference in New Issue
Block a user