]> Pileus Git - ~andy/gtk/log
~andy/gtk
15 years agoRemove unused code and fix some indentation
Richard Hult [Tue, 3 Feb 2009 12:45:06 +0000 (13:45 +0100)]
Remove unused code and fix some indentation

15 years agoButton press and release can share the same fill_button_event call
Richard Hult [Tue, 3 Feb 2009 10:57:32 +0000 (11:57 +0100)]
Button press and release can share the same fill_button_event call

15 years agoRemove tracking of "current mouse window", this is handled in the common code now
Richard Hult [Mon, 2 Feb 2009 18:50:51 +0000 (19:50 +0100)]
Remove tracking of "current mouse window", this is handled in the common code now

15 years agoRemove old cursor setting and make it work with client-side windows
Richard Hult [Mon, 2 Feb 2009 18:45:41 +0000 (19:45 +0100)]
Remove old cursor setting and make it work with client-side windows

15 years agoUpdate for latest changes in the common code for grab tracking
Richard Hult [Mon, 2 Feb 2009 18:14:07 +0000 (19:14 +0100)]
Update for latest changes in the common code for grab tracking

15 years agoIgnore all events if the app is not active
Richard Hult [Mon, 2 Feb 2009 14:51:11 +0000 (15:51 +0100)]
Ignore all events if the app is not active

15 years agoWhen breaking grabs on deactivation, the unset should be implicit
Richard Hult [Mon, 2 Feb 2009 14:44:13 +0000 (15:44 +0100)]
When breaking grabs on deactivation, the unset should be implicit

15 years agoUse _gdk_display_unset_has_*_grab in break_all_grabs()
Richard Hult [Mon, 2 Feb 2009 14:36:26 +0000 (15:36 +0100)]
Use _gdk_display_unset_has_*_grab in break_all_grabs()

15 years agoUse cooca to convert coordinats from event window to grab window instead of homegrown...
Richard Hult [Mon, 2 Feb 2009 13:46:47 +0000 (14:46 +0100)]
Use cooca to convert coordinats from event window to grab window instead of homegrown code

15 years agoReplace quartz specific keyboard grab code with common code
Richard Hult [Mon, 2 Feb 2009 13:22:37 +0000 (14:22 +0100)]
Replace quartz specific keyboard grab code with common code

15 years agoCast to avoid warning
Richard Hult [Mon, 2 Feb 2009 13:21:13 +0000 (14:21 +0100)]
Cast to avoid warning

15 years agoRemove unused variable
Richard Hult [Mon, 2 Feb 2009 13:20:52 +0000 (14:20 +0100)]
Remove unused variable

15 years agoUse the common pointer grab code instead of tracking it ourselves
Richard Hult [Mon, 2 Feb 2009 13:11:46 +0000 (14:11 +0100)]
Use the common pointer grab code instead of tracking it ourselves

15 years agoUse isKeyWindow instead of isMainWindow for the non-click-through check
Richard Hult [Sat, 31 Jan 2009 20:32:11 +0000 (21:32 +0100)]
Use isKeyWindow instead of isMainWindow for the non-click-through check

15 years agoApply non-click-through policy on unfocused windows even if the app is active
Richard Hult [Sat, 31 Jan 2009 20:25:41 +0000 (21:25 +0100)]
Apply non-click-through policy on unfocused windows even if the app is active

15 years agoFix coords returned by _gdk_windowing_window_get_pointer, fixes scribble demo
Richard Hult [Sat, 31 Jan 2009 20:16:27 +0000 (21:16 +0100)]
Fix coords returned by _gdk_windowing_window_get_pointer, fixes scribble demo

15 years agoRemove unused remainders from the old implicit grab code
Richard Hult [Fri, 30 Jan 2009 09:06:12 +0000 (10:06 +0100)]
Remove unused remainders from the old implicit grab code

15 years agoGet implicit grabs working
Richard Hult [Thu, 29 Jan 2009 16:27:20 +0000 (17:27 +0100)]
Get implicit grabs working

15 years agoLeave AppKit events unhandled
Richard Hult [Thu, 29 Jan 2009 13:05:54 +0000 (14:05 +0100)]
Leave AppKit events unhandled

15 years agoUse event_type we already have instead of regetting it
Richard Hult [Thu, 29 Jan 2009 13:02:00 +0000 (14:02 +0100)]
Use event_type we already have instead of regetting it

15 years agoGet the correct root coordinates for events
Richard Hult [Thu, 29 Jan 2009 12:53:13 +0000 (13:53 +0100)]
Get the correct root coordinates for events

15 years agoReturn ignoring of native grab/ungrab events when we don't have a grab
Alexander Larsson [Tue, 3 Feb 2009 19:15:19 +0000 (20:15 +0100)]
Return ignoring of native grab/ungrab events when we don't have a grab

It turns out we really have to ignore grab/ungrab events or we'll
report double crossing events when we grab or ungrab.

However, we also can't ignore crossing events from grabs from other clients
as that leads to missed enter/leave events on e.g. alt-tab in metacity.

Fortunately we now track grabs very precisely, so we know with certainty
whether we have a grab at the time (serial) of the native crossing events,
and only if we do we ignore them.

15 years agoHandle crossing events with subwindows unknown to gdk
Alexander Larsson [Tue, 3 Feb 2009 11:24:30 +0000 (12:24 +0100)]
Handle crossing events with subwindows unknown to gdk

If we get crossing events with subwindow unexpectedly being NULL
that means there is a native subwindow that gdk doesn't know about.
We track these and forward them, with the correct virtual window
events inbetween.

This is important to get right, as metacity uses gdk for the frame
windows, but gdk doesn't know about the client windows reparented
into the frame.

15 years agoenable motion hints - use last sent request
Alexander Larsson [Mon, 2 Feb 2009 15:37:10 +0000 (16:37 +0100)]
enable motion hints - use last sent request

We were using the next request, but there is no guarantee
on is sent. This caused trouble in e.g. the handlebox dragging.

15 years agoMake sure we report grab broken on window destroy
Alexander Larsson [Mon, 2 Feb 2009 14:38:58 +0000 (15:38 +0100)]
Make sure we report grab broken on window destroy

15 years agoReport the steady state in gdk_display_pointer_is_grabbed
Alexander Larsson [Mon, 2 Feb 2009 14:37:02 +0000 (15:37 +0100)]
Report the steady state in gdk_display_pointer_is_grabbed

For instance if we grab the pointer and then check if its grabbed
so that we know to ungrab we don't care that the grab is not
yet active, so report the steady state (i.e. the last grab)

15 years agoMove implicit grab tracking totally to common code
Alexander Larsson [Mon, 2 Feb 2009 13:57:08 +0000 (14:57 +0100)]
Move implicit grab tracking totally to common code

15 years agoDon't send crossing events to destroyed windows
Alexander Larsson [Mon, 2 Feb 2009 11:50:18 +0000 (12:50 +0100)]
Don't send crossing events to destroyed windows

15 years agoNew approach for grab tracking code
Alexander Larsson [Sat, 31 Jan 2009 18:42:44 +0000 (19:42 +0100)]
New approach for grab tracking code

We try to track the exact grab state, i.e. whats valid on the client
now and whats comming soon via the xserver roundtrip (and when).

15 years agoRef windows during _gdk_x11_roundtrip_async
Alexander Larsson [Fri, 30 Jan 2009 13:14:16 +0000 (14:14 +0100)]
Ref windows during _gdk_x11_roundtrip_async

15 years agoFix up indentation
Alexander Larsson [Fri, 30 Jan 2009 11:30:16 +0000 (12:30 +0100)]
Fix up indentation

15 years agoMove bitfield in GdkWindowImplX11 to make struct more compact
Alexander Larsson [Fri, 30 Jan 2009 11:24:24 +0000 (12:24 +0100)]
Move bitfield in GdkWindowImplX11 to make struct more compact

15 years agoOnly sync the display if creating a native window implicitly
Alexander Larsson [Thu, 29 Jan 2009 18:52:12 +0000 (19:52 +0100)]
Only sync the display if creating a native window implicitly

15 years agoSync the display when creating a native window.
Alexander Larsson [Thu, 29 Jan 2009 16:36:17 +0000 (17:36 +0100)]
Sync the display when creating a native window.

This is needed because we want to be able to use the xid immediately
even from another process or another connection to the display.

15 years agoDon't warn about unexpected events on foreign windows
Alexander Larsson [Thu, 29 Jan 2009 13:30:48 +0000 (14:30 +0100)]
Don't warn about unexpected events on foreign windows

We don't really control these events so its not wrong per se
to have them generate stuff we don't expect.

15 years agoUpdate clip region etc, when creating a foreign window
Alexander Larsson [Thu, 29 Jan 2009 13:29:23 +0000 (14:29 +0100)]
Update clip region etc, when creating a foreign window

15 years agoFix typo in gdk_window_input_shape_combine_region
Alexander Larsson [Thu, 29 Jan 2009 13:06:54 +0000 (14:06 +0100)]
Fix typo in gdk_window_input_shape_combine_region

15 years agoMake gdk_window_get_toplevel() for CHILD window with root as parent
Alexander Larsson [Wed, 28 Jan 2009 15:37:56 +0000 (16:37 +0100)]
Make gdk_window_get_toplevel() for CHILD window with root as parent

Having GDK_WINDOW_CHILD windows with root as the parent apparently works,
and metacity uses it. The current gdk_window_get_toplevel() returns the
root window for that, which is wrong, so we check that explicitly.

15 years agoDon't mess with any events on the root window.
Alexander Larsson [Wed, 28 Jan 2009 12:41:12 +0000 (13:41 +0100)]
Don't mess with any events on the root window.

This causes all sorts of weirdness with pointer_over_window
being the rootwindow and then crashing gdk_window_get_toplevel() later.

With this metacity stops crashing madly.

15 years agoDon't crash if window->parent is NULL
Alexander Larsson [Wed, 28 Jan 2009 11:49:46 +0000 (12:49 +0100)]
Don't crash if window->parent is NULL

This happens for events on the root window.

15 years agoDon't recursively set bg none on the parent when e.g. moving children
Alexander Larsson [Tue, 27 Jan 2009 15:43:03 +0000 (16:43 +0100)]
Don't recursively set bg none on the parent when e.g. moving children

To avoid drawing the window background of other windows in the area
where the window was we set the bg to none recursively. However, this
is quite costly it the moved window has many siblings. Furthermore, it
is uncommon that siblings overlap, so this cost has little gain.

So, we only set bg None on the parent, which means that there will
be some more flicker in the uncommon case of overlapping siblings.

15 years agoSimplify do_move_region_bits_on_impl by removing unused arguments
Alexander Larsson [Tue, 27 Jan 2009 14:42:12 +0000 (15:42 +0100)]
Simplify do_move_region_bits_on_impl by removing unused arguments

15 years agoRemove_gdk_pixmap_set_as_backing etc, as this is not used anymore
Alexander Larsson [Tue, 27 Jan 2009 14:38:39 +0000 (15:38 +0100)]
Remove_gdk_pixmap_set_as_backing etc, as this is not used anymore

We don't copy from a window to a pixmap anymore, so all the code
for this can be removed.

15 years agoFix warning about XChangeProperty argument type
Alexander Larsson [Tue, 27 Jan 2009 14:12:50 +0000 (15:12 +0100)]
Fix warning about XChangeProperty argument type

15 years agoRemove unused code
Alexander Larsson [Tue, 27 Jan 2009 14:12:37 +0000 (15:12 +0100)]
Remove unused code

15 years agoFix warning about wrong type in assignment
Alexander Larsson [Tue, 27 Jan 2009 14:12:00 +0000 (15:12 +0100)]
Fix warning about wrong type in assignment

15 years agoFix warning due to typo
Alexander Larsson [Tue, 27 Jan 2009 14:11:39 +0000 (15:11 +0100)]
Fix warning due to typo

15 years agoRemove unused label
Alexander Larsson [Tue, 27 Jan 2009 14:11:21 +0000 (15:11 +0100)]
Remove unused label

15 years agoAvoid warnings about non-handled GDK_EVENT_LAST enum
Alexander Larsson [Tue, 27 Jan 2009 14:10:45 +0000 (15:10 +0100)]
Avoid warnings about non-handled GDK_EVENT_LAST enum

15 years agoFix setting of private->shaped when setting input shape
Alexander Larsson [Tue, 27 Jan 2009 13:57:37 +0000 (14:57 +0100)]
Fix setting of private->shaped when setting input shape

I.e. it should only be set/unset when setting ShapeBounding.

15 years agoDon't look for EXPOSE mask set to disable bg none setting
Alexander Larsson [Tue, 27 Jan 2009 13:51:21 +0000 (14:51 +0100)]
Don't look for EXPOSE mask set to disable bg none setting

We always set EXPOSE in the client-side-windows world, so this
doesn't make sense anymore.

15 years agoFix typos in X11 details of new OSX APIs
Alexander Larsson [Tue, 27 Jan 2009 13:10:00 +0000 (14:10 +0100)]
Fix typos in X11 details of new OSX APIs

15 years agoDon't ignore native CROSSING_GRAB/UNGRAB events
Alexander Larsson [Mon, 26 Jan 2009 19:50:56 +0000 (20:50 +0100)]
Don't ignore native CROSSING_GRAB/UNGRAB events

These are sent when someone else grabs the pointer, and we don't
want to miss these expose events. For instance, we missed enter
and leave events on alt-tab.

There were some issues with these wrt out-of-sync grab information
in the client, but that should now be handled. So, it should work
or at least be fixable if we find some bug.

15 years agoTrack pointer grabs on Xserver time
Alexander Larsson [Mon, 26 Jan 2009 19:38:20 +0000 (20:38 +0100)]
Track pointer grabs on Xserver time

After a successful grab/ungrab we wait for an xserver
roundtrip until we change the tracked grab in GdkDisplay.
This way that data is always up-to-date wrt events comming in.

15 years agoAdd _gdk_x11_roundtrip_async
Alexander Larsson [Mon, 26 Jan 2009 18:55:08 +0000 (19:55 +0100)]
Add _gdk_x11_roundtrip_async

15 years agoUpdate for changes in the paintable interface
Richard Hult [Mon, 26 Jan 2009 19:33:33 +0000 (20:33 +0100)]
Update for changes in the paintable interface

Get rid of invalidate_maybe_recurse and process_updates. Implement
_gdk_windowing_{before,after}_process_all_updates(), and keep track of
when we're inside process_all_updates in the common code so we know
when to flush windows. Implement
_gdk_windowing_window_process_updates_recurse by means of
setNeedsDisplayInRect: displayIfNeeded. Use the added window argument
in begin_paint_region to get the right window (the paintable is always
the impl window now).

15 years agoCall _gdk_window_process_updates_recurse() in drawRect instead of creating our own...
Richard Hult [Mon, 26 Jan 2009 19:29:51 +0000 (20:29 +0100)]
Call _gdk_window_process_updates_recurse() in drawRect instead of creating our own expose events

15 years agoRemove invalidate_maybe_recurse and process_updates from the paintable interface
Richard Hult [Mon, 26 Jan 2009 18:29:26 +0000 (19:29 +0100)]
Remove invalidate_maybe_recurse and process_updates from the paintable interface

Replace them with two new functions
_gdk_windowing_{before,after}_process_all_updates() that are called
around the guts of gdk_window_process_all_updates(). Add empty ones
for X11 (nothing more needed), quartz ones will be implemented next.

15 years agoExpose _gdk_window_process_updates_recurse for backends
Richard Hult [Mon, 26 Jan 2009 18:12:54 +0000 (19:12 +0100)]
Expose _gdk_window_process_updates_recurse for backends

We use this in the added windowing function
_gdk_windowing_window_process_updates_recurse. The X11 implementation
just calls _gdk_window_process_updates_recurse directly, but at least
quartz will need to do some more work.

15 years agoAdd a window argument to begin_paint_region in the paintable interface
Richard Hult [Mon, 26 Jan 2009 17:47:47 +0000 (18:47 +0100)]
Add a window argument to begin_paint_region in the paintable interface

The paintable itself is now the impl window, which can be different
from the window.

15 years agoSetup ->impl_window on the root window
Richard Hult [Sat, 24 Jan 2009 09:05:00 +0000 (10:05 +0100)]
Setup ->impl_window on the root window

15 years agoAdd gdk_windowing_window_get_next_serial
Richard Hult [Sat, 24 Jan 2009 09:03:25 +0000 (10:03 +0100)]
Add gdk_windowing_window_get_next_serial

15 years agoRemove gdk_keyboard_grab_info_libgtk_only which moved to the common code
Richard Hult [Sat, 24 Jan 2009 08:46:06 +0000 (09:46 +0100)]
Remove gdk_keyboard_grab_info_libgtk_only which moved to the common code

15 years agoAdd serial argument to _gdk_windowing_got_event
Richard Hult [Sat, 24 Jan 2009 08:43:55 +0000 (09:43 +0100)]
Add serial argument to _gdk_windowing_got_event

15 years agoFix gdk_window_has_no_impl typo
Alexander Larsson [Mon, 26 Jan 2009 14:45:17 +0000 (15:45 +0100)]
Fix gdk_window_has_no_impl typo

15 years agoOnly set cursors on toplevel.
Alexander Larsson [Mon, 26 Jan 2009 11:54:02 +0000 (12:54 +0100)]
Only set cursors on toplevel.

This fixes a problem where we used to set them on a native window, but we
never unset it becase when the pointer moved to another native window
we just set the cursor on that window. Always setting on the toplevel
fixes this.

15 years agoSwitch motion hint emulation to be serial based.
Alexander Larsson [Fri, 23 Jan 2009 20:07:53 +0000 (21:07 +0100)]
Switch motion hint emulation to be serial based.

For backends not supporting serials, just have
_gdk_windowing_window_get_next_serial return zero.

15 years agoRevert "Convert all pending X events in _gdk_events_queue"
Alexander Larsson [Fri, 23 Jan 2009 19:11:21 +0000 (20:11 +0100)]
Revert "Convert all pending X events in _gdk_events_queue"

This reverts commit 7cc15ec6ea1504133dfe6febbdb12615550bb966.

Its risky to convert all the events in a go like this, as it
increases the out-of-order issues. It also isn't a full solution
to the motion hint issue as it will only work for the events
we happen to convert. It would be better to use serials to
handle motion hinting.

15 years agoKeep track of the impl windows wrapper directly with a ref
Alexander Larsson [Fri, 23 Jan 2009 19:08:39 +0000 (20:08 +0100)]
Keep track of the impl windows wrapper directly with a ref

This is needed so that the ->wrapper of the impl window doesn't
go away while there are virtual windows referencing the impl
window.

15 years agoUngrab keyboard if virtual window is hidden or destroyed
Alexander Larsson [Fri, 23 Jan 2009 14:39:04 +0000 (15:39 +0100)]
Ungrab keyboard if virtual window is hidden or destroyed

15 years agoMove keyboard grab state tracking code to common code
Alexander Larsson [Fri, 23 Jan 2009 14:23:19 +0000 (15:23 +0100)]
Move keyboard grab state tracking code to common code

15 years agoMove keyboard grab info to common code
Alexander Larsson [Fri, 23 Jan 2009 14:05:44 +0000 (15:05 +0100)]
Move keyboard grab info to common code

This is the first stage in tracking keyboard grabs in the common code.
This lets us handle destroying or unmapping virtual window with a
keyboard grab.

15 years agoConvert all pending X events in _gdk_events_queue
Alexander Larsson [Fri, 23 Jan 2009 12:15:04 +0000 (13:15 +0100)]
Convert all pending X events in _gdk_events_queue

If we only convert the first then motion hint emulation won't
work since we don't see the next motion even until we've
fully handled this one.

However, this changes a behaviour that has been like this since
the mists of time. I don't know if it could cause other issues.
I haven't seen any yet though.

15 years agoImplement GDK_POINTER_MOTION_HINT_MASK support
Alexander Larsson [Fri, 23 Jan 2009 12:04:44 +0000 (13:04 +0100)]
Implement GDK_POINTER_MOTION_HINT_MASK support

15 years agoNew flicker flicker fixing approach
Alexander Larsson [Thu, 22 Jan 2009 19:54:11 +0000 (20:54 +0100)]
New flicker flicker fixing approach

There was a performance problem with the old flicker fixing
approach. For moved windows we copied the window data to the double
buffer pixmap and then back to the window with the rest of the
expose data. In some cases the copy from window data to pixmap was
very slow because the pixmap was allocated in system memory and
the window in video memory.

The new approach is to delay all window moves and then replay them
after the expose has drawn to the double buffer pixmap but before
drawing it to the window. Furthermore, we remove all exposed areas
from the destination of the delayed moves so we won't copy something
just to then immediately draw over it.

This makes scrolling in firefox fast, and it makes tests/flicker not
show any (detectable) flicker.

15 years agogdk_window_process_updates_internal only needs to flush outstanding moves
Alexander Larsson [Thu, 22 Jan 2009 19:51:41 +0000 (20:51 +0100)]
gdk_window_process_updates_internal only needs to flush outstanding moves

15 years agoSplit out the flushing of outstanding moves
Alexander Larsson [Thu, 22 Jan 2009 19:50:06 +0000 (20:50 +0100)]
Split out the flushing of outstanding moves

Some places need to only flush the outstanding moves, split
this into gdk_window_flush_outstanding_move

15 years agoFlush any outstanding stuff in the window in non-buffered get_internal_paint_info...
Alexander Larsson [Thu, 22 Jan 2009 19:46:08 +0000 (20:46 +0100)]
Flush any outstanding stuff in the window in non-buffered get_internal_paint_info case

We return the raw window drawable, so its likely the app will do some
weird stuff to it, like draw using non-gdk operations. We don't want
the app to see any half-drawn state, so flush everything.

This fixes a scroll issue in firefox at least.

15 years agoClip exposed area to the visible region.
Alexander Larsson [Thu, 22 Jan 2009 14:18:03 +0000 (15:18 +0100)]
Clip exposed area to the visible region.

This avoids extra work, and it means we won't allocate large pixmaps
for double buffering.

15 years agoDon't allow native window > 65535 pixels
Alexander Larsson [Thu, 22 Jan 2009 13:10:19 +0000 (14:10 +0100)]
Don't allow native window > 65535 pixels

15 years agoFirst cut at getting events working
Richard Hult [Wed, 21 Jan 2009 18:09:34 +0000 (19:09 +0100)]
First cut at getting events working

15 years agoAttempt to implement draw_drawable with src = dest = window
Richard Hult [Wed, 21 Jan 2009 17:47:06 +0000 (18:47 +0100)]
Attempt to implement draw_drawable with src = dest = window

15 years agoRemove unused function _gdk_quartz_window_scroll
Richard Hult [Wed, 21 Jan 2009 17:41:56 +0000 (18:41 +0100)]
Remove unused function _gdk_quartz_window_scroll

15 years agoFix typos that broke loading without lazy symbol lookup
Richard Hult [Wed, 21 Jan 2009 17:35:37 +0000 (18:35 +0100)]
Fix typos that broke loading without lazy symbol lookup

15 years agoRemove autoreleasepool in drawRect, not necessary
Richard Hult [Tue, 20 Jan 2009 13:07:02 +0000 (14:07 +0100)]
Remove autoreleasepool in drawRect, not necessary

15 years agoOnly setup tracking rect for toplevels, we only want enter/leave for those
Richard Hult [Tue, 20 Jan 2009 13:06:39 +0000 (14:06 +0100)]
Only setup tracking rect for toplevels, we only want enter/leave for those

15 years agoDon't use drawable_get,release_context in _gdk_windowing_create_cairo_surface
Richard Hult [Tue, 20 Jan 2009 13:04:03 +0000 (14:04 +0100)]
Don't use drawable_get,release_context in _gdk_windowing_create_cairo_surface

This fixes a mismatch in save/release gstate for the CGContext. If
this function is ever used for pixmaps, we need to add support for
that, probably will have to do so soon.

15 years agoGet rid of all the synthesized crossing events except for ANCESTOR one on the toplevel
Richard Hult [Fri, 16 Jan 2009 19:57:43 +0000 (20:57 +0100)]
Get rid of all the synthesized crossing events except for ANCESTOR one on the toplevel

15 years agoRename _gdk_quartz_events_send_map_events to ..._event
Richard Hult [Fri, 16 Jan 2009 19:34:56 +0000 (20:34 +0100)]
Rename _gdk_quartz_events_send_map_events to ..._event

15 years agoClean up some whitespace
Richard Hult [Fri, 16 Jan 2009 19:22:51 +0000 (20:22 +0100)]
Clean up some whitespace

15 years agoAdd fill_crossing_event to be used soon
Richard Hult [Fri, 16 Jan 2009 19:22:01 +0000 (20:22 +0100)]
Add fill_crossing_event to be used soon

15 years agoOnly send map events for toplevels
Richard Hult [Fri, 16 Jan 2009 19:12:58 +0000 (20:12 +0100)]
Only send map events for toplevels

15 years agoAdd enter/leave notify to get_event_mask_from_ns_event now that those are handled...
Richard Hult [Fri, 16 Jan 2009 18:51:15 +0000 (19:51 +0100)]
Add enter/leave notify to get_event_mask_from_ns_event now that those are handled like other events

15 years agoClean up the scroll support a little
Richard Hult [Fri, 16 Jan 2009 18:47:16 +0000 (19:47 +0100)]
Clean up the scroll support a little

15 years agoMake the various fill_*_event functions consistent
Richard Hult [Fri, 16 Jan 2009 18:42:09 +0000 (19:42 +0100)]
Make the various fill_*_event functions consistent

15 years agoRework the event translation to look more like X11
Richard Hult [Fri, 16 Jan 2009 11:21:46 +0000 (12:21 +0100)]
Rework the event translation to look more like X11

Put the event in the queue with a pending flag, remove again if not
handled.

15 years agoUpdate the window size after getting windowDidResize
Richard Hult [Wed, 7 Jan 2009 20:26:55 +0000 (21:26 +0100)]
Update the window size after getting windowDidResize

15 years agoRemove the old workarond for broken tracking rects
Richard Hult [Wed, 7 Jan 2009 20:25:12 +0000 (21:25 +0100)]
Remove the old workarond for broken tracking rects

The one that puts windows outside the screen and moves them in when
showing. It might not be needed anymore and the workaround doesn't
work with the client-side window branch anyway because the window is
already mapped when we get showed for some reason.

15 years agoHandle NULL event mask in _gdk_windowing_window_at_pointer
Richard Hult [Wed, 7 Jan 2009 14:44:52 +0000 (15:44 +0100)]
Handle NULL event mask in _gdk_windowing_window_at_pointer

15 years agoFix bug from first patch round, get private from window, not from impl
Richard Hult [Wed, 7 Jan 2009 14:42:06 +0000 (15:42 +0100)]
Fix bug from first patch round, get private from window, not from impl