gtk/tests
Olivier Fourdan 28f011eb05 wayland: prefer subsurface when possible
Quite a few applications use GTK_WINDOW_POPUP to create various
temporary windows and place then on screen. That works fine on X11 but
on Wayland there is no global coordinate system for regular surfaces.

If the application is using a gdk temp window and set a parent with
gtk_window_transient_for(), the gdk wayland backend has all it needs to
create a subsurface that can be placed at will by the application.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738
2016-01-08 10:33:26 +01:00
..
dummy-headers quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals tests: Connect signals in visuals test 2014-02-20 02:10:07 +01:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
animated-resizing.c animated-resizing, video-timer: Add missing return value from ::draw 2013-04-25 13:44:58 -04:00
animated-revealing.c tests: Exit test when main window is closed 2014-10-10 00:27:45 +02:00
apple-red.png Insert cast to fix warning. Assign something to old_value to quiet gcc 2003-07-03 01:02:04 +00:00
autotestkeywords.cc Don't include gdkwin32.h when testing Objective-C++ 2009-10-09 14:35:49 +03:00
blur-performance.c shadow-box: Blur only horizontally/vertically for the non-corner parts 2015-03-21 21:31:49 +01:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
dialog.ui Set initial focus in some dialog tests 2014-08-02 11:59:05 +02:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
flicker.c Don't use gtk_set_locale 2010-12-21 12:07:02 -05:00
foreigndrawing.c tests: Rework the way foreigndrawing works 2016-01-04 15:39:48 -05:00
frame-stats.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c gdkgears: Use a headerbar 2015-09-29 21:19:06 -04:00
gnome-textfile.png Add testiconview. A test for GtkIconView ...which uses this image. 2004-08-04 14:32:45 +00:00
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkgears.c tests/gears: Ensure we don't use unavailable GL resources 2015-07-16 14:55:25 +01:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
gtkoffscreenbox.c Remove deprecation warnings from demos and tests 2014-01-24 21:08:59 -05:00
gtkoffscreenbox.h Add offscreen testcase 2009-04-02 10:14:04 +02:00
listmodel.c Add a test for gtk_flow_box_bind_model 2015-08-16 18:20:50 -04:00
Makefile.am wayland: prefer subsurface when possible 2016-01-08 10:33:26 +01:00
makefile.msc Deprecate the unused gtk-file-chooser-backend setting 2013-06-30 13:44:24 -04:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
merge-1.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-2.ui Add UI manager attribute to always show image in menu items 2009-11-27 19:14:43 +01:00
merge-3.ui Change the XML format: <Root> element is replaced by <ui>, <menu> element 2003-08-27 22:22:28 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
motion-compression.c Drop most uses of GtkMisc in tests 2014-05-13 07:43:21 -04:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
mydialog.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
overlayscroll.c Port the overlayscroll example 2014-10-20 23:07:45 -04:00
popover2.ui Add a scale to the popover menu example 2014-10-29 06:49:59 -04:00
popover.ui GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
print-editor.c Port print-editor test to GtkBuilder from UIManager 2013-06-30 11:19:50 -04:00
scrolling-performance.c tests/scrolling-performance: Add a new test for GtkViewport performance 2013-04-23 14:04:40 -04:00
selectionmode.ui Reconstruct a missing file 2014-08-11 16:25:21 -04:00
simple.c Change FSF Address 2012-02-27 17:06:11 +00:00
stresstest-toolbar.c Change FSF Address 2012-02-27 17:06:11 +00:00
styleexamples.c gtkwindow: Remove resize grips 2014-07-03 12:58:41 -04:00
subsurface.c Make subsurface test use a stack 2014-09-17 12:42:32 -04:00
syncscroll.c Add an example for synchronized scrolling 2014-10-09 20:18:51 -04:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testaccel.c testaccel: Add another focus location 2014-09-06 19:03:00 -04:00
testactionbar.c tests: add a visibility toggle to the action bar test 2014-02-12 08:08:03 -05:00
testactions.c Deprecate GtkAction and GtkUIManager 2013-06-30 11:19:50 -04:00
testadjustsize.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testanimation.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testappchooser.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testappchooserbutton.c tests: Include config.h 2012-11-06 21:29:58 +01:00
testapplication.desktop Add GtkApplication 2010-06-07 16:46:30 -04:00
testassistant.c Add a more complex widget in the flipping assistant 2015-10-29 19:21:20 -04:00
testbaseline.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testbbox.c Add an expand button box type 2014-01-17 17:52:07 -05:00
testbox.c Add a testcase for box sizing 2014-02-16 23:24:13 -05:00
testboxcss.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testbuttons.c tests: Ignore deprecation warnings 2013-06-26 15:51:32 +02:00
testcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcalendar.c Avoid a crash in testcalendar 2014-12-23 21:47:50 -05:00
testcellarea.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testcellrenderertext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testclipboard.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testcolorchooser.c API: colorchooser: Use GtkOrientation for orientation 2012-03-07 03:11:05 +01:00
testcombo.c Drop an unnecessary include 2014-04-02 12:41:24 -04:00
testcombochange.c Drop most uses of GtkMisc in tests 2014-05-13 07:43:21 -04:00
testdialog.c testdialog: Error out if templates are missing 2015-07-17 16:11:17 -04:00
testdnd2.c testdnd2: Add some verbosity 2015-12-13 16:02:02 -05:00
testdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
testellipsise.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testemblems.c Add a testcase for icons with emblems 2014-03-24 20:17:21 -04:00
testentrycompletion.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testentryicons.c Add more icon entry tests 2015-12-18 19:38:19 -05:00
testerrors.c Change FSF Address 2012-02-27 17:06:11 +00:00
testexpand.c tests: Update testexpand example for deprecations 2014-10-12 05:27:27 +02:00
testexpander.c Add an expander-in-dialog example 2010-06-24 00:35:24 -04:00
testfilechooser.c testfilechooser: Say Save 2015-07-31 07:12:35 -04:00
testfilechooserbutton.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testflowbox.c testflowbox: Add an example with buttons 2015-08-26 20:00:03 -04:00
testfontchooser.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testfontchooserdialog.c GtkFontChooser: Allow a custom font map 2015-05-07 07:33:23 -04:00
testfontoptions.c Add a testcase for font options 2015-07-01 19:14:58 -07:00
testfontselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontselectiondialog.c Change FSF Address 2012-02-27 17:06:11 +00:00
testframe.c testframe: Pass correct state to GtkStyleContext API 2016-01-02 15:52:20 +01:00
testfullscreen.c tests: add a test for fullscreen mode 2013-01-25 13:16:57 +01:00
testgeometry.c tests: return 0; from main() 2013-01-08 12:23:52 +01:00
testgiconpixbuf.c Change FSF Address 2012-02-27 17:06:11 +00:00
testglarea.c Allow testglarea to work with legacy GL contexts 2015-10-07 16:21:57 +01:00
testglblending.c Add tests/testglblending 2014-10-13 10:43:31 -04:00
testgmenu.c testgmenu: use the menu binding code 2015-07-07 09:28:59 -04:00
testgrid.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testgrouping.c (broken pipe) 2006-04-26 12:39:25 +00:00
testgtk2.css Make testgtk load CSS for custom styling. 2010-12-04 15:39:07 +01:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c Add gtk_native_dialog_destroy() 2015-11-11 16:06:44 +01:00
testgtk.css Revert "WIP: make GtkNotebook window-draggable" 2012-04-28 02:06:37 -04:00
testheaderbar.c tests: use actionbar in headerbar test 2014-01-07 08:46:37 -05:00
testheightforwidth.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testicontheme.c testicontheme: Use rtl/ltr lookup flags 2014-09-21 14:09:16 -04:00
testiconview-keynav.c Change FSF Address 2012-02-27 17:06:11 +00:00
testiconview.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testimage.c Test size constraints 2014-03-14 13:46:31 -04:00
testinput.c tests: Make testinput example not compress events 2013-11-16 01:50:53 +01:00
testkineticscrolling.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
testlevelbar.c Update testlevelbar 2015-11-13 06:41:14 -05:00
testlist2.c tests: Adapt to gtk_widget_reparent deprecations 2014-05-22 08:50:18 -04:00
testlist3.c Improve list selection example 2014-04-06 01:44:38 -04:00
testlist.c testlist: Test double click mode 2013-06-17 15:15:07 +02:00
testlockbutton.c tests: Make testlockbutton not use deprecated API 2014-04-10 17:00:44 +02:00
testlogout.c GtkApplication: remove end session API 2012-02-21 01:23:01 +01:00
testmenubutton.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testmerge.c Use gdk_event_triggers_context_menu() instead of checking for event->button == 3 2012-03-13 13:10:30 +00:00
testmountoperation.c Change FSF Address 2012-02-27 17:06:11 +00:00
testmultidisplay.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testnoscreen.c Change FSF Address 2012-02-27 17:06:11 +00:00
testnotebookdnd.c testnotebookdnd: Defer deletion to an idle 2015-01-30 10:13:28 -05:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testnumerableicon.c tests: Remove unused args 2014-05-22 11:17:32 -04:00
testoffscreen.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testoffscreenwindow.c tests: Connect to draw signal in testoffscreenwindow 2010-09-26 15:11:40 +02:00
testorientable.c Change FSF Address 2012-02-27 17:06:11 +00:00
testoverlay.c overlay: remove gtk_overlay_add_pass_through_overlay() 2015-06-17 11:48:37 -07:00
testoverlaystyleclass.c tests: Update testoverlaystyleclass test 2014-10-12 05:11:13 +02:00
testpixbuf-color.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-save.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-scale.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testplacesview.c tests: Remove testplacesview test 2015-07-16 06:37:37 +02:00
testpopover.c Adapt the testpopover example 2014-10-29 06:49:58 -04:00
testpopup.c wayland: prefer subsurface when possible 2016-01-08 10:33:26 +01:00
testprint.c Change FSF Address 2012-02-27 17:06:11 +00:00
testprintfileoperation.c Further updates from the GtkPrintContext functions rename. 2006-05-31 14:06:02 +00:00
testprintfileoperation.h perf/widgets.h tests/print-editor.c tests/prop-editor.h 2008-05-23 14:55:43 +00:00
testrc.c Change FSF Address 2012-02-27 17:06:11 +00:00
testrecentchooser.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testrecentchoosermenu.c Deprecate GtkImageMenuItem 2013-06-27 18:48:46 -04:00
testrevealer.c Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
testrichtext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testscale.c testscale: add a test for up/leftwards scales 2012-06-12 09:54:33 -04:00
testscrolledge.c scrolledwindow: add a new edge-reached signal 2015-01-31 23:08:17 +00:00
testscrolledwindow.c tests: Add checkbox to enable kinetic scrolling in scrolled window test 2012-03-01 16:25:22 -05:00
testselection.c tests: Don't use deprecated functions in testselection 2014-04-10 17:06:27 +02:00
testselectionmode.c Add a selection mode testcase 2014-08-08 13:30:54 +02:00
testsensitive.c testsensitive: Remove deprecated part 2013-04-02 11:45:44 +02:00
testsocket_child.c Change FSF Address 2012-02-27 17:06:11 +00:00
testsocket_common.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testsocket.c Change FSF Address 2012-02-27 17:06:11 +00:00
testspinbutton.c Make spinbutton orientable 2012-09-03 11:45:51 -04:00
testsplitheaders.c Make testsplitheaders more robust 2014-01-07 13:45:55 -05:00
testsplitheaders.ui Fix separator in testsplitheaders 2015-03-28 22:32:12 -04:00
teststack.c tests: Make stack expand 2015-11-04 19:39:29 +01:00
teststatusicon.c Deprecate GtkStatusIcon 2014-08-15 13:02:31 -04:00
teststockbuttonmenu.c Add an example for accelerators with manual image menuitems 2015-03-06 20:36:11 -05:00
testswitch.c Add a delayed state test case 2014-04-06 01:52:48 -04:00
testtextview.c tests: Sanitize 2014-08-15 00:13:06 +02:00
testthreads.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtitlebar.c Make testtitlebar more versatile 2014-01-06 23:37:05 -05:00
testtoolbar2.c Add an example for a hig-style toolbar 2014-08-15 23:22:00 -04:00
testtoolbar.c testtoolbar: Don't expand rows that shouldn't be expanded 2015-07-08 05:48:59 +02:00
testtooltips.c wayland: fix testtooltips 2015-12-04 13:17:29 +01:00
testtoplevelembed.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreechanging.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testtreecolumns.c tests: fix testtreecolumns not to segfault at startup 2012-09-27 16:54:40 -04:00
testtreecolumnsizing.c gtk: remove "gboolean homogeneous" from gtk_box_new() 2010-11-02 12:04:35 +09:00
testtreednd.c Add a tree dnd testcase 2015-06-05 08:33:59 -04:00
testtreeedit.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreeflow.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreefocus.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreemenu.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreemodel.c testtreemodel: fix unused variable on windows 2014-07-24 08:34:02 +02:00
testtreepos.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreesort.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreeview-plan.txt handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
testtreeview.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testverticalcells.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testvolumebutton.c tests: fix volume button 2014-02-13 20:47:24 -05:00
testwindows.c tests: Don't force black background in testwindows 2014-10-12 05:15:23 +02:00
testwindowsize.c tests: Add max-width-chars to testwindowsize test 2013-11-25 03:56:21 +01:00
testxinerama.c Change FSF Address 2012-02-27 17:06:11 +00:00
treestoretest.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
variable.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c animated-resizing, video-timer: Add missing return value from ::draw 2013-04-25 13:44:58 -04:00