Added x-attach-split-to-window command line arg (#2411)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include "widgets/BaseWindow.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class Split;
|
||||
|
||||
class FramelessEmbedWindow : public BaseWindow
|
||||
{
|
||||
public:
|
||||
FramelessEmbedWindow();
|
||||
|
||||
protected:
|
||||
#ifdef USEWINSDK
|
||||
bool nativeEvent(const QByteArray &eventType, void *message,
|
||||
long *result) override;
|
||||
void showEvent(QShowEvent *event) override;
|
||||
#endif
|
||||
|
||||
private:
|
||||
Split *split_{};
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user