gecko-dev/widget/gtk
Jan Horak 294a592750 Bug 1477967 - Fix the popup menu sizes and redrawing on Wayland/hidpi monitor, r=stransky
This patch fixes redrawing of the popup element by removing the scale factor
from the invalid regions because the wl_surface_damage multiplies it with the
scale factor too.

Also we set scaling factor of the wl_surface right after we create it to avoid
flickering when the compositor switches from unscaled to scaled surface.

MozReview-Commit-ID: 1eGoFu87wtF

--HG--
extra : rebase_source : 08abe86889e34865f3eed0f3979b4a584cc74adb
2018-07-24 12:51:34 +02:00
..
compat
compat-gtk3
crashtests
mozgtk Bug 1355143 - Implement CreateStyleContextWithStates to style with fully stated css path, r=jhorak 2018-04-18 11:03:39 +02:00
mozwayland Bug 1460605 - Provide NS_NATIVE_EGL_WINDOW to get a native EGL window on Wayland, r=jhorak 2018-05-10 16:04:20 +02:00
wayland Bug 1417892 - Added gtk-primary-selection-client-protocol header/source files from Gtk+ project, r=jhorak 2018-03-06 14:02:21 +01:00
CompositorWidgetChild.cpp
CompositorWidgetChild.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
CompositorWidgetParent.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
CompositorWidgetParent.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
GtkCompositorWidget.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
GtkCompositorWidget.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
IMContextWrapper.cpp Bug 1215818 - part 3: Add telemetry probe to collect IM share on Linux r=m_kato 2018-06-20 14:55:46 +09:00
IMContextWrapper.h Bug 1215818 - part 3: Add telemetry probe to collect IM share on Linux r=m_kato 2018-06-20 14:55:46 +09:00
InProcessGtkCompositorWidget.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
InProcessGtkCompositorWidget.h Bug 1448271 - Update some names of #include guards r=nical 2018-03-23 22:40:04 +09:00
NativeKeyBindings.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
NativeKeyBindings.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
ScreenHelperGTK.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ScreenHelperGTK.h Bug 1430725 - Undefine X11 None at ScreenHelperGTK.h as it conflicts our JS code, r=jhorak 2018-01-16 10:09:36 +01:00
TaskbarProgress.cpp Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
TaskbarProgress.h Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
WakeLockListener.cpp Bug 1398539: Inhibit screensaver with XScreenSaverSuspend r=karlt 2017-09-13 18:28:51 -06:00
WakeLockListener.h Bug 1412258 - Get rid of ipc/dbus, r=smaug 2017-10-27 18:41:40 +02:00
WidgetStyleCache.cpp Bug 1456898 - Implement and use solid-csd decoration style to get window offset when solid-csd is used by mShell toplevel window, r=jhorak 2018-04-26 13:55:41 +02:00
WidgetStyleCache.h Bug 1355143 - Implement CreateStyleContextWithStates to style with fully stated css path, r=jhorak 2018-04-18 11:03:39 +02:00
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp Bug 1430018 - Don't use nsWindow::IsX11Display() as it's not implemented, r=jhorak 2018-01-12 10:30:38 +01:00
WindowSurfaceProvider.h Bug 1456364 part 0 - Add a missing X11UndefineNone.h. r=xidorn 2018-04-26 16:22:54 +02:00
WindowSurfaceWayland.cpp Bug 1477967 - Fix the popup menu sizes and redrawing on Wayland/hidpi monitor, r=stransky 2018-07-24 12:51:34 +02:00
WindowSurfaceWayland.h Bug 1441743 - [Wayland] Don't draw directly to frame buffer for partial window updates, r=jhorak 2018-06-15 09:41:56 +02:00
WindowSurfaceX11.cpp Bug 1449352 - always composite 24 depth WindowSurfaceX11 as BGRX. r=jrmuizel 2018-04-10 12:43:59 -04:00
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp Bug 1449352 - always composite 24 depth WindowSurfaceX11 as BGRX. r=jrmuizel 2018-04-10 12:43:59 -04:00
WindowSurfaceX11Image.h
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h
gtk2drawing.c Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt 2018-06-27 05:11:00 +03:00
gtk3drawing.cpp Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt 2018-06-27 05:11:00 +03:00
gtkdrawing.h Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt 2018-06-27 05:11:00 +03:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
mozcontainer.cpp Bug 1477967 - Fix the popup menu sizes and redrawing on Wayland/hidpi monitor, r=stransky 2018-07-24 12:51:34 +02:00
mozcontainer.h Bug 1444437 - [Wayland] Don't map mozcontainer subsurface until parent surface is commited, r=ashie 2018-06-28 13:37:31 +02:00
nsAppShell.cpp Backed out changeset 531593bacc4e (bug 1448040) for Android build bustages on HangAnnotations.h. CLOSED TREE 2018-06-07 19:22:31 +03:00
nsAppShell.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsApplicationChooser.cpp
nsApplicationChooser.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsCUPSShim.cpp
nsCUPSShim.h
nsClipboard.cpp Bug 1452041 - nsClipboard::HasDataMatchingFlavors(): return immediately when there's no clipboard content, r=jhorak 2018-04-09 13:36:03 +02:00
nsClipboard.h Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsClipboardWayland.cpp Bug 1464808 - [Wayland] Emulate gdk_drag_context_get_actions(), nsWaylandDragContext::GetSelectedDragAction returns available D&D actions when no one is selected by user, r=jhorak 2018-06-01 12:24:17 +02:00
nsClipboardWayland.h Bug 1464808 - [Wayland] Emulate gdk_drag_context_get_actions(), nsWaylandDragContext::GetSelectedDragAction returns available D&D actions when no one is selected by user, r=jhorak 2018-06-01 12:24:17 +02:00
nsClipboardX11.cpp Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsClipboardX11.h Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsColorPicker.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsColorPicker.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsDeviceContextSpecG.cpp Bug 1411589 - Notify flatpak print portal that print to file has finished, r=stransky 2018-04-16 12:28:51 +02:00
nsDeviceContextSpecG.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsDragService.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nsDragService.h Bug 1455676 part 3. Remove nsIDOMNode usage from widget/. r=qdot 2018-05-29 22:58:48 -04:00
nsFilePicker.cpp Bug 1433357 - Part 2: Suppress upload-file-dialog proxy bypass in Linux r=karlt 2018-02-02 14:44:00 +02:00
nsFilePicker.h Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
nsGTKToolkit.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
nsGtkKeyUtils.h Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
nsGtkUtils.h
nsIImageToPixbuf.h
nsIdleServiceGTK.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceGTK.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1457120 - Use mozilla:: namespace at nsLookAndFeel module, r=jhorak 2018-04-26 14:59:55 +02:00
nsLookAndFeel.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsNativeThemeGTK.cpp Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt 2018-06-27 05:11:00 +03:00
nsNativeThemeGTK.h Bug 1466330 - Make nsITheme::GetWidgetBorder return the border directly instead of using an out-param (idempotent patch). r=emilio 2018-06-02 19:10:48 +02:00
nsPSPrinters.cpp
nsPSPrinters.h
nsPrintDialogGTK.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsPrintDialogGTK.h
nsPrintSettingsGTK.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsPrintSettingsGTK.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsPrintSettingsServiceGTK.cpp Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsServiceGTK.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsSound.cpp Bug 1448914 - remove nsISound::playSystemSound; r=masayuki 2018-03-27 10:41:40 -04:00
nsSound.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsToolkit.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsWidgetFactory.cpp Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
nsWindow.cpp Bug 1475193 - Use nsWindow::IsComposited() where possible, r=jhorak 2018-07-12 11:51:38 +02:00
nsWindow.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00