diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-03-31 23:10:03 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-03-31 23:10:03 -0500 |
commit | 24e34ad9892c4c5bf774bd0c32e369be52954936 (patch) | |
tree | 03819b1b63f5b60797d8072e1bda8a35fcefaf52 /tdm | |
parent | 39cbbdb1607e656aac07834d77573b204a717540 (diff) | |
download | tdebase-24e34ad9892c4c5bf774bd0c32e369be52954936.tar.gz tdebase-24e34ad9892c4c5bf774bd0c32e369be52954936.zip |
Add basic support for a modified compton compositor instead of the old buggy kompmgr
Update additional Xorg atom names
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/kfrontend/kfdialog.cpp | 2 | ||||
-rw-r--r-- | tdm/kfrontend/kgapp.cpp | 2 | ||||
-rw-r--r-- | tdm/kfrontend/sakdlg.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tdm/kfrontend/kfdialog.cpp b/tdm/kfrontend/kfdialog.cpp index 47ae5759c..5e8f8e861 100644 --- a/tdm/kfrontend/kfdialog.cpp +++ b/tdm/kfrontend/kfdialog.cpp @@ -47,7 +47,7 @@ FDialog::FDialog( TQWidget *parent, bool framed ) if (framed) { // Signal that we do not want any window controls to be shown at all Atom kde_wm_system_modal_notification; - kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False); + kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_TDE_WM_MODAL_SYS_NOTIFICATION", False); XChangeProperty(tqt_xdisplay(), winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L); } diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp index 508717275..f172521bc 100644 --- a/tdm/kfrontend/kgapp.cpp +++ b/tdm/kfrontend/kgapp.cpp @@ -516,7 +516,7 @@ kg_main( const char *argv0 ) } if (comp) { if (comp->isRunning()) { - if (_compositor == "kompmgr") { + if (_compositor == TDE_COMPOSITOR_BINARY) { // Change process UID // Get user UID passwd* userinfo = getpwnam(login_user.ascii()); diff --git a/tdm/kfrontend/sakdlg.cc b/tdm/kfrontend/sakdlg.cc index e5ad75a88..1f1adefdf 100644 --- a/tdm/kfrontend/sakdlg.cc +++ b/tdm/kfrontend/sakdlg.cc @@ -92,7 +92,7 @@ SAKDlg::SAKDlg(TQWidget *parent) if (trinity_desktop_lock_use_system_modal_dialogs) { // Signal that we do not want any window controls to be shown at all Atom kde_wm_system_modal_notification; - kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False); + kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_TDE_WM_MODAL_SYS_NOTIFICATION", False); XChangeProperty(tqt_xdisplay(), winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L); } setCaption(TDM_LOGIN_SCREEN_BASE_TITLE); |