aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan Djärv2009-07-01 16:48:35 +0000
committerJan Djärv2009-07-01 16:48:35 +0000
commitcad9ef74ea903dc714850c5379646f5c5f229c63 (patch)
tree2f29da96516ec6abfc78d0e1b27ee2466309bfbf /src/xterm.h
parent69b166106d00cb312a0013c7a026fd60c228f6e4 (diff)
downloademacs-cad9ef74ea903dc714850c5379646f5c5f229c63.tar.gz
emacs-cad9ef74ea903dc714850c5379646f5c5f229c63.zip
* w32fns.c (w32_frame_parm_handlers): Set 0 for sticky.
* nsfns.m (ns_frame_parm_handlers): Ditto. * frame.c: Declare Qsticky. (frame_parms): Add sticky. * xfns.c (x_frame_parm_handlers): Let x_set_sticky handle sticky. * xterm.h: Declare x_set_sticky. * xterm.c (x_set_sticky): New function. * frame.c: Qmaximized is new. (x_set_frame_parameters): Do not handle fullscreen specially. Only set width and height if explicitly set. (x_set_fullscreen): Handle Qmaximized. (x_set_font, x_figure_window_size): Do not handle fullscreen specially. (syms_of_frame): Initialize Qmaximized. * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen for Expose event. Add call to x_check_fullscreen for MapNotify event. Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not set gravity to NorthWestGravity when USE_GTK. (set_wm_state): New function. (do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED. (x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED. (x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen or the case when no window manager is running. That means remove calls to x_real_positions and x_fullscreen_adjust.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 6681d4ed440..0d9d4804e5f 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -964,6 +964,8 @@ extern unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *,
964extern int x_display_pixel_height P_ ((struct x_display_info *)); 964extern int x_display_pixel_height P_ ((struct x_display_info *));
965extern int x_display_pixel_width P_ ((struct x_display_info *)); 965extern int x_display_pixel_width P_ ((struct x_display_info *));
966 966
967extern void x_set_sticky P_ ((struct frame *, Lisp_Object, Lisp_Object));
968
967/* Defined in xselect.c */ 969/* Defined in xselect.c */
968 970
969extern void x_handle_property_notify P_ ((XPropertyEvent *)); 971extern void x_handle_property_notify P_ ((XPropertyEvent *));