~ubuntu-branches/ubuntu/trusty/eterm/trusty

« back to all changes in this revision

Viewing changes to src/windows.c

  • Committer: Bazaar Package Importer
  • Author(s): Rocco Stanzione
  • Date: 2006-08-23 16:17:09 UTC
  • Revision ID: james.westby@ubuntu.com-20060823161709-eld1mxuqr5ed3otf
Tags: 0.9.3-1ubuntu1
Don't set override_redirect for KDE.  It causes borderless 
Eterms to refuse focus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
379
379
 
380
380
    if (BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_BORDERLESS)) {
381
381
        prop = XInternAtom(Xdisplay, "_MOTIF_WM_INFO", True);
382
 
        if (prop == None) {
383
 
            print_warning("Window Manager does not support MWM hints.  Bypassing window manager control for borderless window.\n");
384
 
            Attributes.override_redirect = TRUE;
385
 
            mwmhints.flags = 0;
386
 
        } else {
387
 
            mwmhints.flags = MWM_HINTS_DECORATIONS;
388
 
            mwmhints.decorations = 0;
389
 
        }
 
382
                mwmhints.flags = MWM_HINTS_DECORATIONS;
 
383
                mwmhints.decorations = 0;
390
384
    } else {
391
385
        mwmhints.flags = 0;
392
386
    }