summaryrefslogtreecommitdiff
path: root/plugin/plugin.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-10-03 21:47:59 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:12 +0100
commit205717fab38b52f72f16c7c73ec959e7cd900d62 (patch)
treec752e406ade789a2db22b47f8beaa351f0701a76 /plugin/plugin.c
parent9d77e5b29487cf27eb9f6571e62f0be34ffa0649 (diff)
downloadfribid-205717fab38b52f72f16c7c73ec959e7cd900d62.tar.gz
fribid-205717fab38b52f72f16c7c73ec959e7cd900d62.tar.bz2
fribid-205717fab38b52f72f16c7c73ec959e7cd900d62.zip
Made the window modal instead of "stay on top"
Diffstat (limited to 'plugin/plugin.c')
-rw-r--r--plugin/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/plugin.c b/plugin/plugin.c
index 11b5b42..3b69d9f 100644
--- a/plugin/plugin.c
+++ b/plugin/plugin.c
@@ -30,12 +30,14 @@
#include "plugin.h"
Plugin *plugin_new(PluginType pluginType, const char *url,
- const char *hostname, const char *ip) {
+ const char *hostname, const char *ip,
+ int windowId) {
Plugin *plugin = calloc(1, sizeof(Plugin));
plugin->type = pluginType;
plugin->url = strdup(url);
plugin->hostname = strdup(hostname);
plugin->ip = strdup(ip);
+ plugin->windowId = windowId;
return plugin;
}