summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2004-01-10 17:16:07 +0000
committerRob Adams <readams@src.gnome.org>2004-01-10 17:16:07 +0000
commita605da04c161ecace7ed1112ac140efc52127ff6 (patch)
tree3362dba1ec903e252275e46927d2ee3dd032d0e3 /src/display.h
parentcc7195547a74953c206d93fbfa25f6a49aaae5bb (diff)
downloadmetacity-a605da04c161ecace7ed1112ac140efc52127ff6.tar.gz
Add _NET_FRAME_EXTENTS and _NET_REQUEST_FRAME_EXTENTS.
2004-01-09 Thomas Fitzsimmons <fitzsim@redhat.com> Add _NET_FRAME_EXTENTS and _NET_REQUEST_FRAME_EXTENTS. * src/display.c: include xprops.h (process_request_frame_extents): new function (meta_display_open): add _NET_FRAME_EXTENTS and _NET_REQUEST_FRAME_EXTENTS atoms (event_callback): handle frame extents message * src/display.h (struct _MetaDisplay): add atom_net_frame_extents and atom_net_request_frame_extents * src/theme.c (meta_pango_font_desc_get_text_height): make font_desc parameter const * src/ui.c: include prefs.h (meta_ui_theme_get_frame_borders): new function * src/window.c (update_net_frame_extents): new function (meta_window_move_resize_internal): update frame extents property when frame geometry changes * src/screen.c (set_supported_hint): add atom_net_frame_extents and atom_net_request_frame_extents
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display.h b/src/display.h
index fc7e631c..69969317 100644
--- a/src/display.h
+++ b/src/display.h
@@ -172,7 +172,9 @@ struct _MetaDisplay
Atom atom_gnome_panel_action_run_dialog;
Atom atom_metacity_sentinel;
Atom atom_net_wm_strut_partial;
-
+ Atom atom_net_frame_extents;
+ Atom atom_net_request_frame_extents;
+
/* This is the actual window from focus events,
* not the one we last set
*/