Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion twmnd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <QLibraryInfo>
#include <QTranslator>
#include "widget.h"
#include "xcb/xcb.h"
#include "dbusinterface.h"
#include <iostream>

Expand Down
1 change: 0 additions & 1 deletion twmnd/twmnd.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ TARGET = twmnd
TEMPLATE = app
CONFIG += debug
DESTDIR = ../bin/
LIBS += -lX11 -lXext
QMAKE_CXXFLAGS += -Wall -Werror -pedantic -Wno-long-long

target.path+=/usr/local/bin
Expand Down
3 changes: 1 addition & 2 deletions twmnd/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <QIcon>
#include <QWheelEvent>
#include <QCursor>
#include <QtX11Extras/QX11Info>
#include "settings.h"

Widget::Widget(const char* wname) : m_settings(wname)//, m_shortcutGrabber(this, m_settings)
Expand Down Expand Up @@ -138,7 +137,7 @@ void Widget::processMessageQueue()
Message& m = m_messageQueue.front();
loadDefaults();
if (m.data["aot"]->toBool()) {
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint | Qt::BypassWindowManagerHint);
raise();
}
setupFont();
Expand Down