mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
5fb61f3075
Thu Dec 11 00:35:12 2003 Matthias Clasen <maclas@gmx.de> Changes to allow "no input" windows (#64613): * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean field accept_focus. * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to set it. * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus" and gtk_window_get_focus() and gtk_window_set_focus(). * gdk/win32/gdkwindow-win32.c (gdk_window_new): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): * gdk/x11/gdkwindow-x11.c (gdk_window_set_new): Initialize the accept_focus field to TRUE. * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): Implementations for the various backends. The Win32 and linux-fb implementations set the accept_focus field, but don't use it yet to actually implement noinput windows. The X implementation updates the WM_HINTS to select the globally active input model (see the ICCCM) if accept_focus is FALSE. * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the WM_TAKE_FOCUS message if accept_focus is FALSE. |
||
---|---|---|
.. | ||
rc | ||
.cvsignore | ||
bdfcursor.c | ||
gdkcolor-win32.c | ||
gdkcursor-win32.c | ||
gdkdisplay-win32.c | ||
gdkdnd-win32.c | ||
gdkdrawable-win32.c | ||
gdkdrawable-win32.h | ||
gdkevents-win32.c | ||
gdkfont-win32.c | ||
gdkgc-win32.c | ||
gdkgeometry-win32.c | ||
gdkglobals-win32.c | ||
gdkim-win32.c | ||
gdkimage-win32.c | ||
gdkinput-win32.c | ||
gdkinput-win32.h | ||
gdkinput.c | ||
gdkkeys-win32.c | ||
gdkmain-win32.c | ||
gdkpango-win32.c | ||
gdkpixmap-win32.c | ||
gdkpixmap-win32.h | ||
gdkprivate-win32.h | ||
gdkproperty-win32.c | ||
gdkscreen-win32.c | ||
gdkselection-win32.c | ||
gdkspawn-win32.c | ||
gdkvisual-win32.c | ||
gdkwin32.h | ||
gdkwin32id.c | ||
gdkwindow-win32.c | ||
gdkwindow-win32.h | ||
libie55uuid.la | ||
libwntab32x.la | ||
Makefile.am | ||
makefile.msc | ||
xcursors.h |