1. 16 Sep, 2009 1 commit
  2. 15 Sep, 2009 1 commit
  3. 11 Sep, 2009 1 commit
  4. 26 Jul, 2009 1 commit
  5. 03 Jul, 2009 1 commit
    • Jan Djärv's avatar
      * xterm.h (struct x_display_info): Add invisible_cursor. · e044e4fc
      Jan Djärv authored
      (struct x_output): Add current_cursor.
      
      * xterm.c (XTtoggle_invisible_pointer): New function.
      (x_define_frame_cursor): Don't define cursor if invisible or the
      same as before.  Set current_cursor.
      (x_create_terminal): Set toggle_invisible_pointer_hook.
      
      * xfns.c (make_invisible_cursor): New function.
      (x_set_mouse_color): Call make_invisible_cursor.
      Set current_cursor.
      (x_window): Set current_cursor.
      
      * termhooks.h (struct terminal): Add toggle_invisible_pointer_hook.
      
      * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after
      inserting a character.
      (read_avail_input): Call frame_make_pointer_visible.
      
      * frame.c (Vmake_pointer_invisible): New variable.
      (frame_make_pointer_invisible, frame_make_pointer_visible): New
      functions.
      (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt.
      
      * frame.h: Declare frame_make_pointer_invisible and
      frame_make_pointer_visible.
      (struct frame): Add pointer_invisible.
      
      * cus-start.el (all): Added make-pointer-invisible.
      e044e4fc
  6. 01 Jul, 2009 2 commits
    • Jan Djärv's avatar
      * w32fns.c (w32_frame_parm_handlers): Set 0 for sticky. · cad9ef74
      Jan Djärv authored
      * 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.
      cad9ef74
    • Jan Djärv's avatar
      * emacs.c (USAGE3, standard_args): Add -mm and --maximized. · 3f1c6666
      Jan Djärv authored
      * 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.
      
      * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED.  Declare
      Qfullwidth, Qfullheight, Qfullboth, 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.
      
      * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove.
      (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and
      flush_and_sync.
      (xg_height_changed): New function.
      (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request
      and gtk_window_set_policy.  Set frame gravity after parsing the geometry
      string.
      (xg_update_frame_menubar, free_frame_menubar)
      (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
      (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed.
      Remove calls to xg_frame_set_char_size.
      
      * startup.el (command-line-x-option-alist): Add -mm and --maximized.
      
      * NEWS: Mention maximized.
      
      * frames.texi (Size Parameters): Mention maximized for fullscreen.
      
      * xresources.texi (Table of Resources): Mention maximized for
      fullscreen.
      
      * cmdargs.texi (Window Size X): -mm/--maximized is new.
      3f1c6666
  7. 27 Jun, 2009 1 commit
  8. 19 May, 2009 1 commit
  9. 18 May, 2009 1 commit
  10. 04 May, 2009 1 commit
  11. 29 Apr, 2009 1 commit
  12. 06 Apr, 2009 1 commit
  13. 28 Mar, 2009 1 commit
  14. 27 Mar, 2009 1 commit
  15. 19 Mar, 2009 1 commit
  16. 11 Mar, 2009 1 commit
  17. 14 Jan, 2009 1 commit
  18. 09 Jan, 2009 1 commit
  19. 05 Jan, 2009 1 commit
  20. 01 Jan, 2009 1 commit
  21. 30 Dec, 2008 2 commits
  22. 22 Dec, 2008 1 commit
    • Martin Rudalics's avatar
      * frame.c (delete_frame): New function derived from · 56f2de10
      Martin Rudalics authored
      Fdelete_frame to handle Qnoelisp value for FORCE argument.
      Delete last frame iff FORCE equals Qnoelisp.  (Bug#1450)
      (Fdelete_frame): Call delete_frame.  Remove line from doc-string
      saying that FORCE non-nil doesn't run `delete-frame-functions'.
      * frame.h: Extern delete_frame.
      * window.c (window_loop):
      * terminal.c (delete_terminal):
      * xterm.c (x_connection_closed):
      * xfns.c (Fx_hide_tip):
      * w32fns.c (Fx_hide_tip): Call delete_frame instead of
      Fdelete_frame.
      56f2de10
  23. 20 Dec, 2008 3 commits
  24. 13 Dec, 2008 1 commit
  25. 28 Nov, 2008 1 commit
  26. 12 Nov, 2008 1 commit
  27. 02 Nov, 2008 1 commit
    • Martin Rudalics's avatar
      (do_switch_frame): New argument NORECORD passed to Fselect_window. · 216e6a14
      Martin Rudalics authored
      (Fselect_frame): New argument NORECORD passed to do_switch_frame.
      (Fset_frame_selected_window): New argument NORECORD passed to
      Fselect_frame.
      (Fhandle_switch_frame, Fdelete_frame): Handle NORECORD argument
      in call of do_switch_frame.
      (Fset_mouse_position, Fset_mouse_pixel_position, Fraise_frame):
      Handle NORECORD argument in call of Fselect_frame.
      216e6a14
  28. 09 Oct, 2008 2 commits
  29. 19 Sep, 2008 1 commit
  30. 18 Sep, 2008 1 commit
  31. 30 Aug, 2008 2 commits
  32. 25 Aug, 2008 1 commit
  33. 24 Aug, 2008 1 commit
  34. 23 Aug, 2008 1 commit