… | |
… | |
908 | #if ENABLE_FRILLS |
908 | #if ENABLE_FRILLS |
909 | if (option (Opt_borderLess)) |
909 | if (option (Opt_borderLess)) |
910 | { |
910 | { |
911 | if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None) |
911 | if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None) |
912 | { |
912 | { |
913 | /* print_warning("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");*/ |
913 | // rxvt_warn("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n"); |
914 | attributes.override_redirect = true; |
914 | attributes.override_redirect = true; |
915 | mwmhints.flags = 0; |
|
|
916 | } |
915 | } |
917 | else |
916 | else |
918 | { |
917 | { |
919 | mwmhints.flags = MWM_HINTS_DECORATIONS; |
918 | mwmhints.flags = MWM_HINTS_DECORATIONS; |
920 | mwmhints.decorations = 0; |
|
|
921 | } |
919 | } |
922 | } |
920 | } |
923 | else |
|
|
924 | mwmhints.flags = 0; |
|
|
925 | #endif |
921 | #endif |
926 | |
922 | |
927 | #if ENABLE_XEMBED |
923 | #if ENABLE_XEMBED |
928 | if (rs[Rs_embed]) |
924 | if (rs[Rs_embed]) |
929 | { |
925 | { |