diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-09-01 11:59:38 +0100 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-09-01 11:59:38 +0100 |
commit | 367a9dd91462b2f1b52292d3f9af3be8d325cddb (patch) | |
tree | 367b0f20aad8e373806d065e0636889730fefd07 /tikzit/scripts | |
parent | 3a212c1d5fd1f279559b36fd555473441e836562 (diff) |
GTK: delay setting cursor on non-realised windows
Calling -[WidgetSurface setCursor:] when the underlying GtkWidget has
not been realised yet used to result in a warning that the GdkWindow did
not exist. As a result, the cursor would not actually be set.
To deal with this, if the widget has not been realised, we delay setting
the cursor until it is.
Diffstat (limited to 'tikzit/scripts')
0 files changed, 0 insertions, 0 deletions