summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorL0Wigh <mathiotthomas@gmail.com>2025-09-02 19:03:49 +0200
committerL0Wigh <mathiotthomas@gmail.com>2025-09-02 19:03:49 +0200
commitc4de221356ebee849b7000bc1ba1f19be1c9ec1f (patch)
tree088c6ae28cfc9d8d5be3b2ea71cfa574caae6ad0 /src
parente0639be15e8dac5e7837f68401bb325411aabedb (diff)
(fix): Mistake when doing "rebase"
Diffstat (limited to 'src')
-rw-r--r--src/sxwm.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 881cce6..fb13f55 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -2176,29 +2176,6 @@ void set_win_scratchpad(int n)
scratchpads[n].enabled = False;
}
-Bool window_should_float(Window w)
-{
- XClassHint ch;
- if (XGetClassHint(dpy, w, &ch)) {
- for (int i = 0; i < 256; i++) {
- if (!user_config.should_float[i] || !user_config.should_float[i][0]) {
- break;
- }
-
- if ((ch.res_class && !strcmp(ch.res_class, user_config.should_float[i][0])) ||
- (ch.res_name && !strcmp(ch.res_name, user_config.should_float[i][0]))) {
- XFree(ch.res_class);
- XFree(ch.res_name);
- return True;
- }
- }
- XFree(ch.res_class);
- XFree(ch.res_name);
- }
-
- return False;
-}
-
void reset_opacity(Window w)
{
Atom atom = XInternAtom(dpy, "_NET_WM_WINDOW_OPACITY", False);