diff --git a/ShareX/Forms/NotificationForm.cs b/ShareX/Forms/NotificationForm.cs index d386494c4..e45b494e6 100644 --- a/ShareX/Forms/NotificationForm.cs +++ b/ShareX/Forms/NotificationForm.cs @@ -48,6 +48,15 @@ public class NotificationForm : Form private int urlPadding = 3; private Size textRenderSize; + protected override CreateParams CreateParams { + get { + // Turn on WS_EX_TOOLWINDOW style bit + CreateParams cp = base.CreateParams; + cp.ExStyle |= 0x80; + return cp; + } + } + public NotificationForm(int duration, int fadeDuration, ContentAlignment placement, Size size, NotificationFormConfig config) { InitializeComponent();