forked from AuroraMiddleware/gtk
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. |
||
---|---|---|
.. | ||
.cvsignore | ||
gdkcolor-fb.c | ||
gdkcursor-fb.c | ||
gdkdisplay-fb.c | ||
gdkdnd-fb.c | ||
gdkdrawable-fb2.c | ||
gdkevents-fb.c | ||
gdkfb.h | ||
gdkfbmanager.c | ||
gdkfbmanager.h | ||
gdkfbswitch.c | ||
gdkfont-fb.c | ||
gdkgc-fb.c | ||
gdkgeometry-fb.c | ||
gdkglobals-fb.c | ||
gdkim-fb.c | ||
gdkimage-fb.c | ||
gdkinput-none.c | ||
gdkinput.c | ||
gdkinputprivate.h | ||
gdkkeyboard-fb.c | ||
gdkmain-fb.c | ||
gdkmouse-fb.c | ||
gdkpango-fb.c | ||
gdkpixmap-fb.c | ||
gdkprivate-fb.h | ||
gdkproperty-fb.c | ||
gdkrender-fb.c | ||
gdkscreen-fb.c | ||
gdkselection-fb.c | ||
gdkspawn-fb.c | ||
gdkvisual-fb.c | ||
gdkwindow-fb.c | ||
Makefile.am | ||
mi.h | ||
miarc.c | ||
midash.c | ||
mifillarc.c | ||
mifillarc.h | ||
mifpoly.h | ||
mifpolycon.c | ||
miline.h | ||
mipoly.c | ||
mipoly.h | ||
mipolygen.c | ||
mipolyutil.c | ||
miscanfill.h | ||
mispans.c | ||
mispans.h | ||
mistruct.h | ||
mitypes.h | ||
miwideline.c | ||
miwideline.h | ||
mizerclip.c | ||
mizerline.c | ||
x-cursors.xbm |