summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-31Format all code with clang-formatDavid Robillard1-409/+413
2020-09-27Separate declarations and initialize all variablesDavid Robillard1-5/+7
2020-09-27Clean up includes and forward declarationsDavid Robillard1-17/+27
2020-07-17Fix Wunused-parameter warningsDavid Robillard1-0/+8
2020-07-17Fix implicit conversion warningsDavid Robillard1-4/+4
2020-04-26Fix size issues for X11 in Gtk2David Robillard1-1/+46
2020-04-10Remove cruftRobin Gareus1-19/+0
Minimum size is already handled by suil_x11_on_size_request(), so object properties are irrelevant.
2020-04-10Ensure that XSizeHints are set and updatedRobin Gareus1-24/+42
This fixes the following regression introduced in db07a21d484: * The window may not have been realized when wrapper_wrap is called, in which case XSizeHints were not set. * Changes to XSizeHints were never queried, so the original mininum size was enforced even when the window called ui:resize().
2020-02-12Fix drag and drop for X11 in GtkRobin Gareus1-0/+39
"XDND drag-and-drop does not work with reparented external windows, since messages are exchanged with the toplevel window only" <https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html#idm46049203496608> To address this, the XDND specification allows events to be proxied to child windows: https://www.freedesktop.org/wiki/Specifications/XDND/ This commit does so in suil so that drag and drop works with embedded plugin UIs.
2020-02-12Avoid passing NULL to XFree()Robin Gareus1-1/+3
Apparently this is not supported by some implementation or another, although my man page says it's fine.
2019-04-14Use modern LV2 includesDavid Robillard1-2/+2
2019-02-19Add support for min_size and base_size in XSizeHintsbrummer101-17/+103
This allows a plugin UI to be shown with a default size but be resizable to a smaller size, within limits, afterwards.
2017-12-16Clean up feature code in wrappersDavid Robillard1-6/+3
2017-10-03Clean up various minor code style issuesDavid Robillard1-5/+4
2017-05-08Fix potential memory leaksDavid Robillard1-0/+1
2017-05-07Fix potential use of uninitialized memoryDavid Robillard1-0/+1
2017-05-07Fix memory leaksDavid Robillard1-0/+1
2016-12-11Fix missing KeyRelease events for X11 in GtkHanspeter Portner1-4/+5
2016-09-18Update copyright datesDavid Robillard1-1/+1
2016-07-31Fix compilation with C++David Robillard1-2/+2
2015-11-28Bubble X11 key events up to Gtk parentDavid Robillard1-5/+21
2015-11-28Fix initial size of resizable X11 UIs in GtkDavid Robillard1-0/+12
2015-11-28Center X11 UIs in GtkDavid Robillard1-1/+36
2015-09-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5728 a436a847-0d15-0410-975c-d299462d15a1
2015-09-13Require LV2 1.6.0.David Robillard1-16/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5727 a436a847-0d15-0410-975c-d299462d15a1
2015-09-11Zero-initialize wrapper structs.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5723 a436a847-0d15-0410-975c-d299462d15a1
2015-09-10Fix whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5720 a436a847-0d15-0410-975c-d299462d15a1
2015-03-06Fix whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5615 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5426 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Don't call suil_instance_extension_data from modules (fix #926).David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5200 a436a847-0d15-0410-975c-d299462d15a1
2013-12-17Fix more const issues.David Robillard1-1/+1
Require latest LV2 svn for Ingen (fix #945). git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5174 a436a847-0d15-0410-975c-d299462d15a1
2013-08-09Suil 0.6.14.v0.6.14David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5149 a436a847-0d15-0410-975c-d299462d15a1
2013-05-26Support resizing for X11 in Gtk (patch from Robin Gareus, #906).David Robillard1-0/+58
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5112 a436a847-0d15-0410-975c-d299462d15a1
2013-05-09Communicate UI update rate to plugin and UI.David Robillard1-7/+37
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5107 a436a847-0d15-0410-975c-d299462d15a1
2013-04-21Correctly remove Gtk timeout callback (fix #901).David Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5105 a436a847-0d15-0410-975c-d299462d15a1
2013-03-23Fix check for LV2 1.4.1 when building recursively.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5096 a436a847-0d15-0410-975c-d299462d15a1
2013-03-23Call idle at 30Hz in Gtk, not full rate (fix #898).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5095 a436a847-0d15-0410-975c-d299462d15a1
2013-03-19Add support for UI idle interface.David Robillard1-7/+42
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5091 a436a847-0d15-0410-975c-d299462d15a1
2013-02-24Lower dependency from Gtk 2.24 introduced in 0.6.12David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5083 a436a847-0d15-0410-975c-d299462d15a1
2013-02-22Grab focus on show.David Robillard1-38/+54
I am not sure why this is necessary, but key events now work in Jalv, Ingen, and Ardour 3, so whatever. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5065 a436a847-0d15-0410-975c-d299462d15a1
2013-02-22Fix key events for X11 in Gtk.David Robillard1-41/+56
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5064 a436a847-0d15-0410-975c-d299462d15a1
2013-02-22Maybe fix crash on close caused by key filter for X11 in Gtk.David Robillard1-17/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5063 a436a847-0d15-0410-975c-d299462d15a1
2013-02-22Add compile time option to disable explicit Gtk to X11 key forwarding (#887).David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5062 a436a847-0d15-0410-975c-d299462d15a1
2012-12-20Fix crash in x11_in_gtk2 when event_filter fires before widget is realized.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4864 a436a847-0d15-0410-975c-d299462d15a1
2012-09-12Fix module loading in static build.David Robillard1-1/+1
Even when suil itself is built statically, the modules are not, so using SUIL_API for the module entry point (suil_wrapper_new) in this case was not setting dllexport. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4772 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Explicitly forward keyboard events to X11 UIs in Gtk.David Robillard1-0/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4606 a436a847-0d15-0410-975c-d299462d15a1
2012-08-02Replace host provided features that match Suil implemented features, ratherDavid Robillard1-2/+2
than passing UIs duplicate features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4599 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Fix suil_instance_free to avoid a double free when the wrapper has already ↵David Robillard1-1/+0
destructed. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4359 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix crashes when wrapper widget is destroyed by toolkit before suil cleanupDavid Robillard1-6/+37
function is called. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4264 a436a847-0d15-0410-975c-d299462d15a1
2012-04-11Add suil_host_set_touch_func.David Robillard1-26/+11
Saner feature array manipulation. Implement port index and subscribe/unsubscribe functions via new UI features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4160 a436a847-0d15-0410-975c-d299462d15a1