[Wayland-bugs] [Bug 704554] New: FIX mmap fails when getting root_window
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jul 19 07:40:52 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=704554
gtk+ | wayland | 3.9.x
Summary: FIX mmap fails when getting root_window
Classification: Platform
Product: gtk+
Version: 3.9.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: wayland
AssignedTo: gtk-bugs at gtk.org
ReportedBy: thibaud.hulin.cl at gmail.com
QAContact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=249635)
View: https://bugzilla.gnome.org/attachment.cgi?id=249635
Review: https://bugzilla.gnome.org/review?bug=704554&attachment=249635
Set width, height to 1 to avoid mmap fails
Hi,
As I was trying some samples(caret and controls) of wxWidgets on Wayland, I met
this error at launch:
"(controls:2962): Gdk-CRITICAL **: gdkwindow-wayland.c:578: mmap'ping temporary
file failed: Invalid argument"
It comes from gdk_screen_get_root_window() which returned a GtkWindow with
height and width set to 0.
But GtkWindow
doc(https://developer.gnome.org/gtk3/3.5/GtkWindow.html#gtk-window-set-default-size)
indicates that it should be set to 1. I did that it fixes my issue.
The patch joined corrects the bug.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list