diff options
author | Havoc Pennington <hp@pobox.com> | 2002-02-09 06:54:44 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-02-09 06:54:44 +0000 |
commit | 116fc5546f3ab87a6a2650aa7afa4aa5c842a9bd (patch) | |
tree | 3ddd3567dbce8ed6b996d9f85608bb934ef7154e /src/screen.c | |
parent | 844a8ac13f057f235cf3044f23b23cabf10e65f7 (diff) | |
download | metacity-116fc5546f3ab87a6a2650aa7afa4aa5c842a9bd.tar.gz |
put in some kind of distinctive frame for UTILITY, though it's ugly. Also
2002-02-09 Havoc Pennington <hp@pobox.com>
* src/themes/Atlanta/metacity-theme-1.xml: put in some kind of
distinctive frame for UTILITY, though it's ugly. Also put in the
borderless look for maximized windows.
* src/stack.c (compute_layer): put splash screen in the splash
layer
* src/stack.h (enum): create a splash screen layer
* src/place.c (meta_window_place): center splashscreen, and fix a
typo in the centering code
* src/window.c (recalc_window_features): disable most features on
splash screens
* src/screen.c (set_supported_hint): add UTILITY and SPLASHSCREEN
hints
* src/window.c: add UTILITY, SPLASHSCREEN implementation
* src/window.h (enum): add UTILITY, SPLASHSCREEN types
* src/theme-parser.c (parse_toplevel_element): parser support
for has_title attribute
* src/theme.c (meta_frame_layout_get_borders): handle a has_title
field in the layout, for utility windows that don't display a
title (would be better to be able to shrink the title text,
but that's kind of tricky to implement :-/)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index eb607ada..b75ccab2 100644 --- a/src/screen.c +++ b/src/screen.c @@ -78,7 +78,7 @@ set_wm_check_hint (MetaScreen *screen) static int set_supported_hint (MetaScreen *screen) { -#define N_SUPPORTED 24 +#define N_SUPPORTED 26 #define N_WIN_SUPPORTED 1 Atom atoms[N_SUPPORTED]; @@ -106,6 +106,8 @@ set_supported_hint (MetaScreen *screen) atoms[21] = screen->display->atom_net_wm_icon; atoms[22] = screen->display->atom_net_wm_moveresize; atoms[23] = screen->display->atom_net_wm_state_hidden; + atoms[24] = screen->display->atom_net_wm_window_type_utility; + atoms[25] = screen->display->atom_net_wm_window_type_splashscreen; XChangeProperty (screen->display->xdisplay, screen->xroot, screen->display->atom_net_supported, |