diff options
author | Calvin Lee <cyrus296@gmail.com> | 2017-06-13 12:42:11 -0700 |
---|---|---|
committer | Calvin Lee <cyrus296@gmail.com> | 2017-06-13 12:42:11 -0700 |
commit | 33fdae2001f489c40667797ce3bc50eedb352ee0 (patch) | |
tree | 03b220c43ada1864fc1e44082c614de3b073a6ca /swaybar/bar.c | |
parent | Fix Catching NewIcon Signal (diff) | |
download | sway-33fdae2001f489c40667797ce3bc50eedb352ee0.tar.gz sway-33fdae2001f489c40667797ce3bc50eedb352ee0.tar.zst sway-33fdae2001f489c40667797ce3bc50eedb352ee0.zip |
Remove Xembed Support
Xembed support is premature in sway and should be postponed. This commit
only removes swaybar starting xembedsniproxy, if users would like, they
can still start xembedsniproxy manually, however there will be no
official support.
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r-- | swaybar/bar.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index 5d480b63..5e87eac9 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c | |||
@@ -27,9 +27,6 @@ static void bar_init(struct bar *bar) { | |||
27 | bar->config = init_config(); | 27 | bar->config = init_config(); |
28 | bar->status = init_status_line(); | 28 | bar->status = init_status_line(); |
29 | bar->outputs = create_list(); | 29 | bar->outputs = create_list(); |
30 | #ifdef ENABLE_TRAY | ||
31 | bar->xembed_pid = 0; | ||
32 | #endif | ||
33 | } | 30 | } |
34 | 31 | ||
35 | static void spawn_status_cmd_proc(struct bar *bar) { | 32 | static void spawn_status_cmd_proc(struct bar *bar) { |
@@ -252,8 +249,6 @@ void bar_run(struct bar *bar) { | |||
252 | 249 | ||
253 | event_loop_poll(); | 250 | event_loop_poll(); |
254 | #ifdef ENABLE_TRAY | 251 | #ifdef ENABLE_TRAY |
255 | tray_upkeep(bar); | ||
256 | |||
257 | dispatch_dbus(); | 252 | dispatch_dbus(); |
258 | #endif | 253 | #endif |
259 | } | 254 | } |