mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-17 00:12:53 +02:00
Merge pull request #800 from NotAFile/patch-1
switch workspace on mouse-down to match swaybar
This commit is contained in:
@@ -249,7 +249,7 @@ Gtk::Button &Workspaces::addButton(const Json::Value &node) {
|
||||
auto &&button = pair.first->second;
|
||||
box_.pack_start(button, false, false, 0);
|
||||
button.set_relief(Gtk::RELIEF_NONE);
|
||||
button.signal_clicked().connect([this, node] {
|
||||
button.signal_pressed().connect([this, node] {
|
||||
try {
|
||||
if (node["target_output"].isString()) {
|
||||
ipc_.sendCmd(
|
||||
|
Reference in New Issue
Block a user