1. 14 Oct, 2010 1 commit
  2. 08 Jun, 2009 1 commit
    • Alexander Larsson's avatar
      Add signals for offscreen window embedding · e1b52da0
      Alexander Larsson authored
      3 signals are for offscreen windows
      get-offscreen-parent: Get the parent window an offscreen is embedded in
      to-parent: Convert coordinates from offscreen to parent
      from-parent: Convert coordinates from parent to offscreen
      
      1 signal is for the window embedding offscreens:
      pick-offscreen-child: This picks what (if any) offscreen is at a specific position
      
      The last signal is only used if you call gdk_window_set_has_offscreen_children
      to tell gdk that the window has embedded offscreen children.
      Add get-pointer signal for offscreen window pointer getting
      
      Apps using offscreen windows can connect to get-pointer on offscreen
      windows in order to make gdk_window_get_pointer() return correct
      values.
      
      Add get-offscreen-parent signal
      
      Add signals for from-parent and to-parent coordinate mapping
      
      Add pick-offscreen-child signal
      e1b52da0
  3. 01 Aug, 2002 1 commit
    • Owen Taylor's avatar
      New demo for window migration between different displays and screens. · 63489392
      Owen Taylor authored
      Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/changedisplay.c: New demo for
      	window migration between different displays and screens.
      
      	* gtk/gtkrc.c gtkstyle.[ch]: Add
      	_gtk_style_init_for_settings(), so that gtkrc.c
      	can initialize the styles it creates for the
      	right display.
      
      	* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
      	* gtk/gtksettings.c (gtk_settings_get_default)
      	* gtk/gtkstyle.c (gtk_style_init): Handle absence of
      	a default screen.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
      	Handle display == NULL.x
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Free the
      	event queue.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
      	Remove the event source when closing a display.
      
      	* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
      	isn't convenient enough by itself.
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
      	Create foreign windows for watch windows if there isn't
      	an existing window, instead of installing a global filter.
      
      	* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
      	Clean up the xsettings_client when we are done with
      	it.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
      	excess call to _gdk_x11_events_init_screen()
      63489392
  4. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Add a singleton object that we can use to get notification when displays · 5830bf89
      Owen Taylor authored
      Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
              gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
              gdk/win32/gdkdisplay-win32.c: Add a singleton object that
              we can use to get notification when displays
              appear / disappear or the default display changes.
      
              gdk_set_default_display() => gdk_display_manager_set_default_display()
              gdk_list_displays() => gdk_display_manager_list_displays().
              (#85696)
      
              * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
              generation.
      
              * gdk/gdkintl.h: Add this.
      
              * gtk/gtkmain.c: Add gtk_parse_args() that initializes
              GTK+ without opening a display.
      
              * gtk/gtkmain.c: Set things up so if a module
              exports gtk_module_init() and gtk_module_display_init(),
              then we treat it as multihead aware, otherwise,
              we only initialize it after the default display is set.
      5830bf89