Commit Graph

3548 Commits

Author SHA1 Message Date
Erwann Chenede
061c766e2b (21/09/01) Erwann Chenede - <erwann.chenede@sun.com>
* remove call to non multihead safe functions
* removed few warnings
2001-09-21 12:10:37 +00:00
Erwann Chenede
bd92619e9d (20/09/01) Erwann Chenede - <erwann.chenede@sun.com>
* grouped all display init in gdkdisplay-x11.c
* created a per display X ID hashtable
* create per display equivalent of gdk_[window|pixmap|font]_lookup & co.
* added various convienience functions
2001-09-20 17:46:34 +00:00
Erwann Chenede
fcc780f378 (20/09/01) Erwann Chenede - <erwann.chenede@sun.com>
* added a per display client message filter function list
2001-09-20 13:27:46 +00:00
Erwann Chenede
a1525ddf07 (20/09/01) Erwann Chenede - <erwann.chenede@sun.com>
* gdkevents-x11.c : fixed gdk_net_wm_supports_for_screen to work properly on multihead
		    more fixes for move_resize* string
2001-09-20 12:23:38 +00:00
Erwann Chenede
9cde6f277f (19/09/01) Erwann Chenede - <erwann.chenede@sun.com>
*  keep all handling of moveresize_window object data key inside gdkwindow-x11.c
2001-09-19 17:48:33 +00:00
Erwann Chenede
6fa05332de (19/09/01) Erwann Chenede - <erwann.chenede@sun.com>
* removed add cashed atoms from GdkDisplay + mix fixes
2001-09-19 16:45:56 +00:00
Erwann Chenede
996e355971 (18/09/01) Erwann Chenede - <erwann.chenede@sun.com>
- revert gdk_x11_*.grab_server changes and introduce gdk_x11_display_*.grab
- add screen property to GtkInvisible
- add g_return_if_fail (GDK_IS_DISPLAY (display)) or equivalent
  for all public API taking a GdkDisplay.
- ditto for GdkScreen
- mark gdk_event_send_client_message as not multihead safe and
  added gdk_event_send_client_message_for_display
- add gdk_send_xevent_for_display() and make gdk_send_xevent()
  as not-multihead-safe.
- move leader_window to GdkDisplay consequently change
  gdk_set_sm_client_id_for_screen to for_display
- added GDK_MULTIHEAD_SAFE around all non multihead fcts.
2001-09-18 12:48:17 +00:00
Erwann Chenede
024eb4a6e4 09/09/01 Erwann Chenede <erwann.chenede@sun.com>
* remove includes of screen/display as Owen had them to gdk.h
* revert gdk_x11_*.grab_server changes and introduce gdk_x11_display_*.grab
* store colormap per screen in gdk_colormap_get_sytem_for_screen
* replace gdk_rgb_ditherable_for_screen() by  gdk_rgb_colormap_ditherable()
* add screen property to GtkInvisible
* added idef GDK_MULTIHEAD_SAFE around gdk multihead unsafe fct
* added sanity check in gdkdisplay-x11.c and gdkscreen-x11.c
2001-09-09 18:34:45 +00:00
Erwann Chenede
a880dd2679 07/09/01 Erwann Chenede <erwann.chenede@sun.com>
* cached system colormap on a per screen basis
* multihead safe fixes for file selector
2001-09-07 16:32:41 +00:00
Erwann Chenede
4f43fcd1a6 07/09/01 Erwann Chenede <erwann.chenede@sun.com>
removed gdk_window_new_for_screen
added convinience function gtk_widget_get_root_window
multihead fixes for GtkCurve and GtkStyle
2001-09-07 11:51:29 +00:00
Erwann Chenede
70af5e16a1 (06/09/01) Erwann Chenede <erwann.chenede@sun.com>
* gtk/gtkclist.c   check if the widget is realized before refreshing it
* gtk/gtkfontsel.c created a realize function to hold all the screen dependent
		   resources initialization.
		   now gtk font selector is multihead safe
2001-09-06 17:43:04 +00:00
Erwann Chenede
5ca448422a 06/09/01 Erwann Chenede <erwann.chenede@sun.com>
* fixed multihead support for colorselection dialog
* various cursors are now created on the right display
* popup window are popped up on right display/screen
2001-09-06 16:20:53 +00:00
Erwann Chenede
873bdc26a6 05/09/01 erwann.chenede@sun.com
- revert _gdk_x11_display_impl_get_type to gdk_x11_display_impl_get_type
  as its not a local symbol (it's used in gtk and immodules)
- remove gdk_window_set_screen.
- cleaned gdk_window_set/get_mwm_hints from static atoms.
- gdk_window_iconify use proper screen.
- remove assert and change comments in gdk_window_foreign_new_for_display
- gtk_drag_get_ipc_widget uses GdkDisplay now
- reimplemented GdkDrawable get_display() in term of GdkDrawable get_screen()
- rename gdk_display_manager to _gdk_display_manager and remove it from gdkx.h and gdkprivate.h
- removed scr and dpy abbreviations.
2001-09-05 17:35:10 +00:00
Owen Taylor
5e8e3f407e - Merge changes from head into gtk-multihead branch
- Fix lots of white space to correspond with HEAD
- Many other fixes and improvements.
2001-09-03 22:52:31 +00:00
Erwann Chenede
8ce4276208 fixed colormap ref count problem and Image grab problem 2001-08-28 14:33:43 +00:00
Erwann Chenede
e47807fbe1 Merged with gtk HEAD (take 2, broken pipe) 2001-08-27 12:55:27 +00:00
Erwann Chenede
255695f76f Erwann Chenede 27/08/01
Merged again with gtk HEAD to keep up to date
2001-08-27 12:53:24 +00:00
Erwann Chenede
21c08e6440 erwannc fix coordinate problem
erwannc
fix coordinate problem
2001-08-23 17:31:57 +00:00
Erwann Chenede
8320e60ebd *** empty log message *** 2001-08-23 17:04:05 +00:00
Erwann Chenede
d4497ca21e GtkCurve Multihead bug fix (stupid bug that is) 2001-08-23 13:31:03 +00:00
Erwann Chenede
97f7b5c9b3 erwannc 15/08/01 fix to make popup menus work fully for multidisplay apps.
erwannc 15/08/01
fix to make popup menus work fully for multidisplay apps.
2001-08-15 11:11:20 +00:00
Erwann Chenede
f6ce455ecf style->font needs to be cleared if the style is to be realized
on another screen/display.
2001-08-10 12:32:39 +00:00
Erwann Chenede
a6d425470a Erwann 7/8/1 Merged the changes added to gtk HEAD since july (While I was
Erwann 7/8/1
Merged the changes added to gtk HEAD since july (While I was away)
2001-08-07 10:45:55 +00:00
Erwann Chenede
5be19317ae Erwann 7/8/1 Merged to changes added to the HEAD while I was away
Erwann 7/8/1
Merged to changes added to the HEAD while I was away
----------------------------------------------------------------------
2001-08-07 10:41:18 +00:00
Erwann Chenede
3f23a87d82 synchronized gtk-multihead branch with HEAD.
strange, selection and dnd seems half broken, e.g. outside processes can't grab pasted
selection. This is a problem introduced in the HEAD not gtk-multihead branch
as it WAS working before merging.
2001-06-28 18:31:20 +00:00
Erwann Chenede
be4d275bed forgot special case when retrieving selection made of atom.
need to convert these atoms into virtual atoms too.
2001-06-27 19:07:31 +00:00
Erwann Chenede
e2b1a43f10 Last fixed to make gtk Dnd fully work with virtual atoms. 2001-06-27 16:58:33 +00:00
Erwann Chenede
041053cb97 GtkSelection is fully working with virtual atoms.
Motif drop is working with virtual atoms
still reference count pb with Xdnd Dnd.
2001-06-26 19:44:01 +00:00
Erwann Chenede
84902b6fd8 fixed gdk/gtkselection mechanism to work with virtual atoms.
paste works for out process selection to inprocess
still doesn't work for in process to out process (something funny with
gtk_selection_request not invoking the registered selection convertion
handler....).
2001-06-25 18:42:20 +00:00
Erwann Chenede
d66df2f988 Implemented virtual atoms for gdk/gtk
changed all the gtk multihead design remove screen variable from GtkWidget to GtkWindow
now gtk_widget_get_screen recurse through the widget tree to find a top level window
with the screen information (if not found check special case e.g. GtkInvisible or
screen info attached to a widget).

Rewrote GtkSelection multihead abstraction to reflect virtual atom changes and the
fact that the display information is not available a destruction time. Now it is buggy ;(

Rewrote GtkClipboard multihead abstraction to remove dependency on the display information
as it is not available at destruction time.

All the atoms are virtual in gtk, in gdk atoms are translated into virtual atoms as the
GdkEvents are constructed (the only remaining real atoms are WM related atoms and
Motif Dnd target table).
2001-06-22 18:29:59 +00:00
Erwann Chenede
845b1f3211 removed GdkScreen from gdk_pango_get_gc
removed all the move resize data from GdkDisplay put it into local variable in and attached it to
GdkDisplay Object.
VIRTUAL_ATOM-22-06-01
2001-06-13 21:51:38 +00:00
Erwann Chenede
8ba19314c6 removed gdk_window_get_[screen|display] replaced by gdk_drawable_get_*
modified gdk_keymap_*
2001-06-13 18:49:30 +00:00
Erwann Chenede
c5faaf2132 misc indentation fixes 2001-06-12 12:23:26 +00:00
Erwann Chenede
a9cec4e3d0 remove DEFAULT_GDK_* to proper functions.
changed dpy_mgr to gdk_display_manager (added a fct to get it).
2001-06-11 13:25:41 +00:00
Erwann Chenede
cbdedb210d *** empty log message *** 2001-06-08 18:15:30 +00:00
Erwann Chenede
4e71d42920 change strange naming convention from : root_parent parent_root root_window
root_window and xroot_window (modified fct too).
added gdk_widget_get_display
2001-06-08 18:00:31 +00:00
Erwann Chenede
7ef95bf051 remove for_screen alternate function for gdk_.itmap_create_for_data, etc
finished swapping args where GdkScreen or GdkDisplay where not at the first place.
2001-06-08 16:43:53 +00:00
Erwann Chenede
73f340ea73 move gdk_screen_width|heigth* to gdkdisplay
removed gdk_colormap_new_for_screen
implemented gdk_display_flush to replace gdk_flush
2001-06-08 14:33:38 +00:00
Erwann Chenede
bb0b5342c9 All _for_display function added now have the GdkDisplay arg as the first arg. 2001-06-08 11:19:25 +00:00
Erwann Chenede
24b845f8f6 Added GdkDisplay to GdkKeymap
Removed all for_display associated to GdkKeymap
2001-06-07 18:01:45 +00:00
Erwann Chenede
f7d0a21a2b change gdk_atom_intern_for_display to gdk_display_atom
change its signature to swap arg 3 and arg 1
2001-06-07 15:37:08 +00:00
Erwann Chenede
86f52bfd26 replaced gdk.h:void gdk_set_use_xshm_for_display (GdkDisplay * display,
replaced
gdk.h:void    gdk_set_use_xshm_for_display  (GdkDisplay * display, gboolean use_xshm);
gdk.h:gboolean  gdk_get_use_xshm_for_display  (GdkDisplay * display);
gdk.h:void        gdk_pointer_ungrab_for_display (GdkDisplay * display,
gdk.h:void        gdk_keyboard_ungrab_for_display (GdkDisplay * display,
gdk.h:gboolean      gdk_pointer_is_grabbed_for_display (GdkDisplay * display);
gdk.h:void gdk_beep_for_display (GdkDisplay * display);

by

void	gdk_display_use_xshm_set  (GdkDisplay *display, gboolean use_xshm);
gboolean        gdk_display_use_xshm_get        (GdkDisplay * display);
void          gdk_display_pointer_ungrab      (GdkDisplay * display, guint32 time);
void          gdk_display_keyboard_ungrab (GdkDisplay * display, guint32 time);
gboolean        gdk_display_is_pointer_grabbed  (GdkDisplay * display);
void	gdk_display_beep    (GdkDisplay * display);
2001-06-06 14:20:19 +00:00
Erwann Chenede
63f140c9c8 06/06/01 Erwann Chenede
Sync the gtk-multihead branch with cvs HEAD
2001-06-06 12:33:30 +00:00
Erwann Chenede
d47c6f30ff 5/6/01 erwann More fixes, added a new small test problem.
5/6/01 erwann
More fixes, added a new small test problem.
2001-06-05 16:10:23 +00:00
Erwann Chenede
565b8c42d4 Various bug fixes for multiple display support and drag and drop 2001-05-29 16:26:43 +00:00
Erwann Chenede
6768cfdf2f Multidisplay is now working, check crude test in tests/testmultidisplay.c 2001-05-24 15:25:50 +00:00
Erwann Chenede
28314a4bf1 *** empty log message *** 2001-05-17 20:23:34 +00:00
Owen Taylor
be277ae413 un May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com>
* autogen.sh (have_automake): Require libtool-1.4,
        automake-1.4p1.

        * acinclude.m4: Remove libtool macros.

        * gdk-pixbuf/Makefile.am: Add dependencies to loade
        modules.

        * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
        for libgdk.

        * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
        libgdk.la for libgtk.

        * modules/input/Makefile.am: Make modules have full
        dependencies.
GTK_MULTIHEAD_BRANCHPOINT
2001-05-16 18:51:28 +00:00
Owen Taylor
55b115acba Require libtool-1.4, automake-1.4p1.
Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_automake): Require libtool-1.4,
        automake-1.4p1.

        * acinclude.m4: Remove libtool macros.

        * gdk-pixbuf/Makefile.am: Add dependencies to loade
        modules.

        * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
        for libgdk.

        * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
        libgdk.la for libgtk.

        * modules/input/Makefile.am: Make modules have full
        dependencies.
2001-05-16 18:51:07 +00:00
Jonathan Blandford
97fb7b7878 fix bug #54699 where paths weren't being checked for correctness.
Wed May 16 14:06:01 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): fix bug
	#54699 where paths weren't being checked for correctness.
2001-05-16 18:16:57 +00:00